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 question

Author
Message
Monzi
19
Years of Service
User Offline
Joined: 10th May 2004
Location: Denmark
Posted: 19th Apr 2005 03:19 Edited at: 19th Apr 2005 05:39
I've created the following with the BlueGUI plugin:

createUI:
Frame1=createFrame(0,0,415,445,"Items in start menu",0)
Frame2=createFrame(415,0,100,445,"Stuff",0)
Gadget2=createListBox(4,19,405,420,Frame1)
Gadget3=createButton(427,20,75,25,"Scan",0,Frame2)
Gadget4=createButton(427,50,75,25,"Exit",0,Frame2)
Return

But for some reason the two button gadgets doesnt show up at all. Anyone who can tell me whats wrong?
Rob K
Retired Moderator
21
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 19th Apr 2005 05:39
The x and y coordinates of the button are relative to the parent gadget (Frame2).

So change the last two lines to:

Gadget3=createButton(10,20,75,25,"Scan",0,Frame2)
Gadget4=createButton(10,50,75,25,"Exit",0,Frame2)

And you'll get the results you were after.


BlueGUI Windows Plugin
Monzi
19
Years of Service
User Offline
Joined: 10th May 2004
Location: Denmark
Posted: 19th Apr 2005 06:11
Aaah, thanks

Login to post a reply

Server time is: 2024-03-28 11:27:17
Your offset time is: 2024-03-28 11:27:17