Page 1 of 1
[Implemented] Empty gadget
Posted: Mon Apr 29, 2002 8:41 pm
by BackupUser
Restored from previous forum. Originally posted by preacher.
How about a "empty gadget" what I mean by this is a gadget with this commandline "emptygadget"(#gadgetid,x,y,width,height,procedure) or similar.
Not sure if it is easily incorparatable in the different Purebasic versions but it sure would be nice...
(Implemented as 'CanvasGadget()')
[Preacher]
Posted: Mon Apr 29, 2002 8:56 pm
by BackupUser
Restored from previous forum. Originally posted by freak.
??
What do you mean? A gadget that doesn't display anything? A gadget that doesn't get any Input?
What should this gadget do?
Can you please explain in more details, what you want, or give some example how it is used?
Thanx
Timo
--
A debugged program is one for which you have not yet found the conditions that make it fail.
Posted: Mon Apr 29, 2002 11:10 pm
by BackupUser
Restored from previous forum. Originally posted by Franco.
Maybe you mean something like:
Gadget1=PG_CreateButtonGadget(Window1,320, 10, 100, 25,"Button","Gadget 1 ToolTip",?FunctionGadget1)
Well if you think about something like that, go to the
viewtopic.php?t=1191 topic.
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.
Edited by - franco on 30 April 2002 00:14:01
Posted: Thu May 02, 2002 5:08 pm
by BackupUser
Restored from previous forum. Originally posted by preacher.
What I mean is when you setup you're gadget the procedure spesified to the gadget
is called with some parameter like "initialize" or something and for every input
the same procedure is called and you the programmer needs to fulfill the needs of the gadget so a mouse moving over the gadget will call the procedure with this info and the procedure needs to draw any gfx. accordingly.
[Preacher]
Posted: Thu May 02, 2002 5:12 pm
by BackupUser
Restored from previous forum. Originally posted by preacher.
Oops guess you are on the right track and somewhat before me. I like you're idea Franco hope it's made possible soon..
[Preacher]
Posted: Thu May 02, 2002 6:14 pm
by BackupUser
Restored from previous forum. Originally posted by Franco.
Oops guess you are on the right track and somewhat before me. I like you're idea Franco hope it's made possible soon..
Please go to the
viewtopic.php?t=1191 topic and tell me which syntax you prefer.
Everybody's opinion is truly appreciated.
Have a nice day...
Franco
Sometimes you have to go a lonely way to accomplish genius things.