Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Blue Gui problem with variables

Years of Service
User Offline
Joined: 24th Mar 2004
Posted: 30th Nov 2004 09:34
I dont know how to assosiate a variable in the text of the gadgets.To be clearer with you I cant figure out how to write a variable to the editboxes, labels or whatever.

If you could please help me or have any advice then dont be shy.

King programer
Years of Service
User Offline
Joined: 8th May 2004
Location: Somewhere along the Z axis...
Posted: 30th Nov 2004 09:55 Edited at: 30th Nov 2004 09:59
Here variable a=20 and is sent to the editbox.
Same thing with a label. To get value do getgadgettext
as in the last line -JerBil


setgadgettext edBox,str$(a)

setgadgettext lbBox,str$(a)

c=val(getgadgettext (edBox))
Rob K
Retired Moderator
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 1st Dec 2004 16:50
For a string variable:

myVar$="Test String"
setGadgetText gadgetHandle,myVar$

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.

Login to post a reply

Server time is: 2023-09-30 10:42:44
Your offset time is: 2023-09-30 10:42:44