Thanks for thatgnozal wrote:When I have time to upgrade the code to PB4.xx...michel wrote:When do you plan to extend PureForm to the new features of PB4.6 (canvas gadet etc)
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+]
PureFORM 1.99 (yet another FORM designer)
Moderator: gnozal
Re: PureFORM 1.99 (yet another FORM designer)
~Ar-S~
My Image Hoster for PB users
My webSite (french) with PB apps : LDVMULTIMEDIA
PB - 3.x / 5.7x / 6 - W11 x64 - Ryzen 7 3700x / #Rpi4
My Image Hoster for PB users
My webSite (french) with PB apps : LDVMULTIMEDIA
PB - 3.x / 5.7x / 6 - W11 x64 - Ryzen 7 3700x / #Rpi4
Code: Select all
r3p347 : 7ry : un71l d0n3 = 1Re: PureFORM 1.99 (yet another FORM designer)
How i can create a OpenWindowedScreen() in PureForm ? (excluded manually
)
-
gnozal
- PureBasic Expert

- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
You can't.ZerroJack wrote:How i can create a OpenWindowedScreen() in PureForm ? (excluded manually)
PureFORM only supports the 'Window' library, not the 'Screen' library.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Panelgadget with icons
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
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
-
gnozal
- PureBasic Expert

- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: Panelgadget with icons
I have updated PureFORM.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 ?
It is now possible to set a PanelGadget's tab width and height in 'Gadget Properties'.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Panetgadget with icons
Hello Gnozal,
INCREDIBLE !!!!
thank you
Michel
INCREDIBLE !!!!
thank you
Michel
Re: PureFORM 1.99 (yet another FORM designer)
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
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)
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!
Thanks... and thanks for a neat tool!
-
gnozal
- PureBasic Expert

- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
PureFORM only supports keyboard shortcuts for menus.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.
For gadget keyboard shortcuts, you may add the code manually using code infusion (Location:Window event, Event: Window creation)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
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.
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.
-
gnozal
- PureBasic Expert

- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
You are right, I didn't think of that.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.
There is no workaround, sorry.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
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?

-
gnozal
- PureBasic Expert

- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: PureFORM 1.99 (yet another FORM designer)
You could change the gadget enumeration template in 'Preferences->Code->Gadget enumeration' to 'WinEnum/Class/Nb' for example.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?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Re: PureFORM 1.99 (yet another FORM designer)
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)
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
Thank you



