![]() ![]() I don't understand what you mean by the Event ID, where do you get it from? A small working program where all I have to do is set the XIncludeFile line would be very nice and probably very informative. ![]() What are "side locks" and what do they do? Could you please illustrate RS_Unregister() and most importantly RS_Resize(). I split your code into 2 files, one the main routine, the other 'WrapStringGadget.pbi', and tested it with 2 gadgets. Call RS_Resize in the event loop, specifying Event ID and Event Window ID. Call RS_Register ONCE for EACH Gadget to be resized, specifying side locks. Its not difficult to provide this in PB, so heres a procedure to create a spin gadget and. PB doesnt directly provide a spin gadget - this is a gadget that has a little up & down arrow that typically lets you increase or decrease a numeric counter. info: RS_ResizeGadgets (Automatically Resize PureBasic Gadgets) A powerful Visual Designer is included in the PureBasic package, and can build easily any kind of applications. PureBasic Guru Posts: 16777133 Joined: Tue 6:42 pm. The Include file I got (ResizeGadgets.pbi) starts out: Parameters Return value Returns nonzero on success and zero on failure. 1 2 Next Thorsten1867 Addict Posts: 1366 Joined: Wed 3:02 pm Location: Germany Resize Gadgets & Restore Window Size/Position by Thorsten1867 Fri 2:11 pm Module for PureBasic V5.2x/V5.3x Automatically resizing of gadgets if the window size changes. It allows the user to enter a single line of text. Can I please get some help with some simple code that I can use to accomplish my goal. StringGadget () Syntax Result StringGadget (Gadget, x, y, Width, Height, Content, Flags) Description Creates a String gadget in the current GadgetList. I cannot find any file on this in my jaPBe\help folder either. There is no mention of any "PureRESIZE_" functions in this file at all. I was hoping this would help me keep a text gadget in the center of the window while the user resizes the window. I have PureBasic 4.41, jaPBe 3.9.12.817 and downloaded and installed the executable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |