Hello Roger,
Is it possible to get the row/col coordinate of the ADDBUTTONS in the getList ? I would like to use codejock buttons instead of the standard express++ buttons of the express++
I tried @ DCGUI_ROW, DCGUI_COL DCACTIVEXCONTROL oButton --- it does not work as I want
Thanks
Joe
How can I get the row/col coordinate of the ADDBUTTONS
Re: How can I get the row/col coordinate of the ADDBUTTONS
have a look in your Express++ \Samples\CODEJOCK\ Folderunixkd wrote:I tried @ DCGUI_ROW, DCGUI_COL DCACTIVEXCONTROL oButton --- it does not work as I want
Picture can be found \XCodeJock\SnapShots
for activeX you need CLSID
Code: Select all
CLSID 'Codejock.PushButton.12.0.1' ;
i did have Codejock Suite and i have used it for some Project.
i still use Codejock SkinFrameWork but all other Control now are replace with native Control.
all Codejock Components use activeX Interface which is much slower than XbParts or native Control.
just try to create 100 activeX Buttons and compare it with XbpPushbutton().
---
what are you missing

but if you want to change hole Design i recommend to change visual Style using Codejock SkinFrameWork. you can make your own Theme and attach it to your Xbase++ App.
greetings by OHR
Jimmy
Jimmy
Re: How can I get the row/col coordinate of the ADDBUTTONS
I suggest looking at \exp20\xcodejock\samples\shortcutbar\shortcutbar.prg
The eXpress train is coming - and it has more cars.
Re: How can I get the row/col coordinate of the ADDBUTTONS
Hi Roger
May be my question was not clear. Let me restate it this way
when I have DCREAD GUI ---- ADDBUTTONS
I want the OK and CANCEL buttons to be codejock buttons. Is it possible ?
Thanks.
May be my question was not clear. Let me restate it this way
when I have DCREAD GUI ---- ADDBUTTONS
I want the OK and CANCEL buttons to be codejock buttons. Is it possible ?
Thanks.
Re: How can I get the row/col coordinate of the ADDBUTTONS
Hi, Joe.
DCGETOPTIONS ... BUTTONS in combination with DCREAD ... BUTTONS allows standard buttons and DCPUSHBUTTONXP, but no Codejock buttons. Why do you want them?
If you really need CJ buttons, remove ADDBUTTONS from DCREAD and place the CJ buttons by yourself. The OK-action is "DC_ReadGuiEvent(DCGUI_EXIT_OK,GetList)", the action for abort is DC_ReadGuiEvent(DCGUI_EXIT_ABORT,GetList).
DCGETOPTIONS ... BUTTONS in combination with DCREAD ... BUTTONS allows standard buttons and DCPUSHBUTTONXP, but no Codejock buttons. Why do you want them?
If you really need CJ buttons, remove ADDBUTTONS from DCREAD and place the CJ buttons by yourself. The OK-action is "DC_ReadGuiEvent(DCGUI_EXIT_OK,GetList)", the action for abort is DC_ReadGuiEvent(DCGUI_EXIT_ABORT,GetList).
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: How can I get the row/col coordinate of the ADDBUTTONS
Hi Tom
DCREAD GUI ..... ADDBUTTONS automatically add buttons to the dialog without you specifying the row/col coordinate. This allow you to build dynamic dialogs that depends on variable data at runtime e.g.
For i := 1 TO LEN(aVar)
@ i, 5 DCSAY "Input Line "+Str(i) Get aVar
Next
DCREAD GUI ADDBUTTONS -----
Hope you understand what I want now
Joe
DCREAD GUI ..... ADDBUTTONS automatically add buttons to the dialog without you specifying the row/col coordinate. This allow you to build dynamic dialogs that depends on variable data at runtime e.g.
For i := 1 TO LEN(aVar)
@ i, 5 DCSAY "Input Line "+Str(i) Get aVar
Next
DCREAD GUI ADDBUTTONS -----
Hope you understand what I want now
Joe
Re: How can I get the row/col coordinate of the ADDBUTTONS
What you are asking for would require modifications to the eXpress++ source code.
I am not going to add support for CodeJock buttons to the ADDBUTTONS feature.
Instead, I recommend that you use the feature that allows you to use DCPUSHBUTTONXP buttons.
Look at the function: DC_ExpressButtonStyle().
I am not going to add support for CodeJock buttons to the ADDBUTTONS feature.
Instead, I recommend that you use the feature that allows you to use DCPUSHBUTTONXP buttons.
Look at the function: DC_ExpressButtonStyle().
The eXpress train is coming - and it has more cars.
Re: How can I get the row/col coordinate of the ADDBUTTONS
Thanks now you got me.