DXE LIB : enhance native Controls for Xbase++

This forum is for ideas and or code to be contributed for general use.
Message
Author
Victorio
PostsCOLON 529
JoinedCOLON Sun Jan 18, 2015 11:43 am
LocationCOLON Slovakia

Re: DXE LIB : enhance native Controls for Xbase++

#11 Post by Victorio »

Hi Jimmy,
I tryed this, but with LVGROUP example some error :

------------------------------------------------------------------------------
ERROR LOG of "D:\#POKUSY\JIMMY_DXE_LIB\LVgroup2\LVGROUP.EXE" Date: 11/06/2018 09:47:25

Xbase++ version : Xbase++ (R) Version 2.00.554
Operating system : Windows 7 06.01 Build 07601 Service Pack 1
------------------------------------------------------------------------------
oError:args :
-> VALTYPE: O CLASS: DXE_LVGroup
-> VALTYPE: U VALUE: NIL
-> VALTYPE: U VALUE: NIL
-> VALTYPE: U VALUE: NIL
-> VALTYPE: U VALUE: NIL
-> VALTYPE: U VALUE: NIL
-> VALTYPE: U VALUE: NIL
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: Y
oError:cargo : NIL
oError:description : Member variable has wrong data type
oError:filename :
oError:genCode : 29
oError:operation : :Create
oError:osCode : 0
oError:severity : 2
oError:subCode : 2248
oError:subSystem : BASE
oError:thread : 1
oError:tries : 0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from XBP_LISTVIEW:CREATE(91)
Called from DXE_LVGROUP:CREATE(1036)
Called from MAIN(88)

Have you some update of example ?
THX.

User avatar
Auge_Ohr
PostsCOLON 1189
JoinedCOLON Wed Feb 24, 2010 3:44 pm

Re: DXE LIB : enhance native Controls for Xbase++

#12 Post by Auge_Ohr »

hm ... what Date/Time Stamp have LVGROUP.PRG :?:
LVGROUP.ZIP
Demo Source
(2.3 KiB) Downloaded 409 times
greetings by OHR
Jimmy

Victorio
PostsCOLON 529
JoinedCOLON Sun Jan 18, 2015 11:43 am
LocationCOLON Slovakia

Re: DXE LIB : enhance native Controls for Xbase++

#13 Post by Victorio »

Jimmy, maybe I have some mixed old otx4xb.lib,dll, or I do not know what.
all files are in attach, if you can look for this, when you have little time for it.
I like mainly color 3D buttons and design of toolbar as is in example.
Victorio
Attachments
LVgroup2.zip
(1.74 MiB) Downloaded 382 times

User avatar
Auge_Ohr
PostsCOLON 1189
JoinedCOLON Wed Feb 24, 2010 3:44 pm

Re: DXE LIB : enhance native Controls for Xbase++

#14 Post by Auge_Ohr »

Victorio wroteCOLONJimmy, maybe I have some mixed old otx4xb.lib,dll, or I do not know what.
all files are in attach, if you can look for this, when you have little time for it.
include ot4xb DLL/LIB is 1.6.3.1 from 2015 please upgrade. (http://www.xbwin.com/)

it does work with ot4xb 1.6.4.60 and v1.9.355
greetings by OHR
Jimmy

Victorio
PostsCOLON 529
JoinedCOLON Sun Jan 18, 2015 11:43 am
LocationCOLON Slovakia

Re: DXE LIB : enhance native Controls for Xbase++

#15 Post by Victorio »

With new version ot4xb 1.6.4.60 same error , but I have Xbase++ 2.0 554 ,
never mind, I do not want to waste your time, I'll try to analyze it later.
Thank You Jimmy.

Only for info error when create on row 88 :

CodeCOLON Select all

 oDXElist:create()
------------------------------------------------------------------------------
ERROR LOG of "D:\#POKUSY\JIMMY_DXE_LIB\LVgroup2\LVGROUP.EXE" Date: 11/06/2018 20:48:03

Xbase++ version : Xbase++ (R) Version 2.00.554
Operating system : Windows 7 06.01 Build 07601 Service Pack 1
------------------------------------------------------------------------------
oError:args :
-> VALTYPE: O CLASS: DXE_LVGroup
-> VALTYPE: U VALUE: NIL
-> VALTYPE: U VALUE: NIL
-> VALTYPE: U VALUE: NIL
-> VALTYPE: U VALUE: NIL
-> VALTYPE: U VALUE: NIL
-> VALTYPE: U VALUE: NIL
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: Y
oError:cargo : NIL
oError:description : Member variable has wrong data type
oError:filename :
oError:genCode : 29
oError:operation : :Create
oError:osCode : 0
oError:severity : 2
oError:subCode : 2248
oError:subSystem : BASE
oError:thread : 1
oError:tries : 0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from XBP_LISTVIEW:CREATE(91)
Called from DXE_LVGROUP:CREATE(1036)
Called from MAIN(88)

User avatar
Auge_Ohr
PostsCOLON 1189
JoinedCOLON Wed Feb 24, 2010 3:44 pm

Re: DXE LIB : enhance native Controls for Xbase++

#16 Post by Auge_Ohr »

hi,

i do not know what is going on ...

CodeCOLON Select all

* ------------ DXE_LVGroup ------------ *
METHOD DXE_LVGroup:Create( oParent,oOwner,aPos,aSize,aPParam,lVisible )
1036   ::xbp_listview:Create( oParent,oOwner,aPos,aSize,aPParam,lVisible )

* ------------ xbp_listview ------------ * 
INLINE METHOD Create(p1,p2,p3,p4,p5,p6)
090    ::clipChildren := .T.
091    ::XbpStatic:Create(p1,p2,p3,p4,p5,p6) // Error here ???
can you please test other Listview Sample if they work under Xbase++ v2.x :?:
greetings by OHR
Jimmy

User avatar
Auge_Ohr
PostsCOLON 1189
JoinedCOLON Wed Feb 24, 2010 3:44 pm

Re: DXE LIB : enhance native Controls for Xbase++

#17 Post by Auge_Ohr »

Demo DXE_USB (for v1.9.355 only)

this Demo show how to get Event when USB-Stick (Pen-Drive) are plug into System

it use windows Structure _DEV_BROADCAST_VOLUME()
https://docs.microsoft.com/de-de/window ... ast_volume
Attachments
DXE_USB.ZIP
need ot4xb (www.ot4xb.com)
v1.9.355 only
(8.41 KiB) Downloaded 385 times
greetings by OHR
Jimmy

BUTTON_POST_REPLY