Page 95 of 103
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Wed Feb 08, 2012 2:47 pm
by ar-s
gnozal wrote:michel wrote:When do you plan to extend PureForm to the new features of PB4.6 (canvas gadet etc)
When I have time to upgrade the code to PB4.xx...
Anyway, did you check the
custom gadgets feature ? You can easily add the Canvas Gadget...
Custom Gadget Settings For Canvas Gadget wrote:
Name : CanvasGadget
Init code :<empty>
Create code : CanvasGadget(%id%, %x%, %y%, %w%, %h%, %[flags]%)
Free code : <empty>
Flags : #PB_Canvas_Border|#PB_Canvas_ClipMouse|#PB_Canvas_Keyboard|#PB_Canvas_DrawFocus
Comment : CanvasGadget [Gadget Library, Purebasic 4.60+]
Thanks for that

Re: PureFORM 1.99 (yet another FORM designer)
Posted: Sat Feb 11, 2012 4:10 pm
by ZerroJack
How i can create a OpenWindowedScreen() in PureForm ? (excluded manually

)
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon Feb 13, 2012 8:47 am
by gnozal
ZerroJack wrote:How i can create a OpenWindowedScreen() in PureForm ? (excluded manually

)
You can't.
PureFORM only supports the 'Window' library, not the 'Screen' library.
Panelgadget with icons
Posted: Sun Apr 01, 2012 6:38 pm
by michel
Hello Gnozal,
Pureform offer the possibility to add an icon beside the text on a panel. Is there any possibility to insert larger icons e.g. 32 x 32 ?
kind regards
Michel
Re: Panelgadget with icons
Posted: Mon Apr 02, 2012 7:59 am
by gnozal
michel wrote:Pureform offer the possibility to add an icon beside the text on a panel. Is there any possibility to insert larger icons e.g. 32 x 32 ?
I have
updated PureFORM.
It is now possible to set a PanelGadget's tab width and height in 'Gadget Properties'.
Panetgadget with icons
Posted: Mon Apr 02, 2012 5:04 pm
by michel
Hello Gnozal,
INCREDIBLE !!!!
thank you
Michel
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Sun Apr 08, 2012 9:39 pm
by le_magn
Hi Gnozal, is possible to add option "WordWrap" for editor gadget?
I add this code manually for enable wordwrap everytime i need it: SendMessage_(GadgetID(#Editor), #EM_SETTARGETDEVICE, #Null, 0)
Thank you

Re: PureFORM 1.99 (yet another FORM designer)
Posted: Sat Apr 28, 2012 5:20 am
by Tenaja
Am I just missing the way to AddKeyboardShortcut() to gadgets in PureForm? It has so many features, I have to believe I'm just not looking in the right place.
Thanks... and thanks for a neat tool!
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Sat Apr 28, 2012 8:21 am
by gnozal
Tenaja wrote:Am I just missing the way to AddKeyboardShortcut() to gadgets in PureForm? It has so many features, I have to believe I'm just not looking in the right place.
PureFORM only supports keyboard shortcuts for menus.
For gadget keyboard shortcuts, you may add the code manually using code infusion (Location:Window event, Event: Window creation)
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Sat Apr 28, 2012 5:26 pm
by Tenaja
Unfortunately, if you don't have a menu, it will not insert the code infusion for the keyboard shortcuts or menuevents...or maybe I am missing it. I cannot express how much I HATE it when Escape does not close a dialog box or sub-window in a program, so all of my programs have that behavior.
I started using this for my current project, and aside from this, I have only found a few issues that I have yet to find workarounds for:
This current project is for a Preferences tab for another, larger project. It appears that PF is not really set up to accommodate for that, because it is expecting it to be the whole program, rather than just an included procedure. I inserted "Procedure DoPrefs()" in the "Before event loop" code, but there is not "After event loop" place to put an "endprocedure"
The Case statements for the EventGadgets() do not allow inline code, and instead, it calls a separate procedure. This prevents the use of Local variables or Break statements...?
A minor thing is that every text gadget requires a variable or constant name. Sometimes you just want to display some text with #PB_ANY and discard the return value.
[edit] I almost forgot; I regularly experienced crashes when using the keyboard to scroll through the "Object:" listbox in Code infusion.
If I'm missing some workarounds for this, I'd appreciate some tips. If this is open source, I don't mind adding a few features.
Thanks.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon Apr 30, 2012 7:50 am
by gnozal
Tenaja wrote:Unfortunately, if you don't have a menu, it will not insert the code infusion for the keyboard shortcuts or menuevents...or maybe I am missing it.
You are right, I didn't think of that.
There is no workaround, sorry.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Wed May 02, 2012 11:40 pm
by le_magn
I Gnozal, i have started a New Project, with many gadget to enumerate, is possible to add in pureform possibility to select a custom enumeration format for every window: example if i type in pb editor #listicon_ etc.. it show me all listicon present in all windows, for evitate this situation i edit all enumerations for every window like this: #CustomerWindow_gadgetname.... with this name when i code i get only gadget for selected window, is possible to add in pureform the option for do this in auto?
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Thu May 03, 2012 11:12 am
by gnozal
le_magn wrote:I Gnozal, i have started a New Project, with many gadget to enumerate, is possible to add in pureform possibility to select a custom enumeration format for every window: example if i type in pb editor #listicon_ etc.. it show me all listicon present in all windows, for evitate this situation i edit all enumerations for every window like this: #CustomerWindow_gadgetname.... with this name when i code i get only gadget for selected window, is possible to add in pureform the option for do this in auto?
You could change the gadget enumeration template in 'Preferences->Code->Gadget enumeration' to 'WinEnum/Class/Nb' for example.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Thu May 03, 2012 11:51 am
by le_magn
Gnozal i'm BLIND, i checked preference and not see this option before, sorry, next time i check more accurately, thank you!!!!
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Sat May 05, 2012 7:21 pm
by le_magn
Hi gnozal, my question is: is possible in pureform when i create Stringgadget to select max number of char? for example SendMessage_(GadgetID(#String_0), #EM_LIMITTEXT, 5, 0) i limit number of chars for string gadget, you add this option in pureform?
Thank you
