Page 96 of 103
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon May 07, 2012 10:58 am
by gnozal
le_magn wrote: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?
You could add this code using code infusion.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Sun May 13, 2012 9:20 pm
by le_magn
Hi Gnozal thank's for previous response, i have started new project, at the moment i have 4 windows in the project, i have a problem, in one of this window i set background image with purecolor active, saved project and pureform apply background image to others windows, i have remoed background from other windows, saved project, reload and all ok, reclosed and reopen project bang background applied to other windows.
This is not the only project i have this problem, in MSN E-Fix pureform put background without permission to other windows, i manually all time remove background....
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon May 14, 2012 9:28 am
by gnozal
le_magn wrote:...i have a problem, in one of this window i set background image with purecolor active, saved project and pureform apply background image to others windows, i have remoed background from other windows, saved project, reload and all ok, reclosed and reopen project bang background applied to other windows.
I just tried, I can't reproduce the problem.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon May 14, 2012 9:59 am
by le_magn
If you want i send you pureform project with all files? Send me valid email an i send you....
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon May 14, 2012 10:09 am
by gnozal
le_magn wrote:If you want i send you pureform project with all files? Send me valid email an i send you....
That could help... please send to gnozal[AT]gmail[DOT]com
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon May 14, 2012 10:39 am
by le_magn
Ok i send project and graphic, i uploaded to youtube video for show the problem:
http://www.youtube.com/watch?v=4WcVj1h_ ... e=youtu.be
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon May 14, 2012 12:40 pm
by gnozal
It seems you are misusing PureFORM : as stated in the help file, using background color and background image at the same time is not possible : they are using the same brush with SetClassLong_().
You may try to use a disabled ImageGadget for the background image.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon May 14, 2012 12:54 pm
by le_magn
gnozal wrote:It seems you are misusing PureFORM : as stated in the help file, using background color and background image at the same time is not possible : they are using the same brush with SetClassLong_().
You may try to use a disabled ImageGadget for the background image.
Gnozal sorry but i not misusing, i not enabled background image and color, pureform do this without my permission, and now in #Main window i'm not able to reload project without image, auto selected by pureform, every time i remove it, this is a bug not misusing... if i save project without image why pureform reload it with image selected(i never selected image background for this window)?
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon May 14, 2012 1:24 pm
by gnozal
le_magn wrote:i not enabled background image and color, pureform do this without my permission, and now in #Main window i'm not able to reload project without image, auto selected by pureform, every time i remove it, this is a bug not misusing... if i save project without image why pureform reload it with image selected(i never selected image background for this window)?
Sorry, I thought it was intentionally.
If not, it's probably a bug in the form loader... .
[EDIT] Yes it is : I have uploaded a new build, it should fix this issue.
Re: PureFORM 1.99: event procedures
Posted: Thu May 17, 2012 2:23 pm
by michel
Hi Gnozal
Pureform creates a certain structure with procedure call in the gadget event mode as soon as the code infusion editor detects a character; so for example the insertion of ;-- gives:
Procedure Button_0_OnEvent(EventType.l)
;--
;:PureFORM:Gadget_0_1:End:
; Your code here ...
;
;:PureFORM:Gadget_0_2:Start:
EndProcedure
Case #PB_Event_Gadget
Select EventGadget()
Case #Button_0
Button_0_OnEvent(EventType())
EndSelect
Is it possible to generate the same structure for a menu_event and a toolbar_event
That means that with one pass the user can get in the standard editor a structure where he can complete his code without having a mixture of code coming from the standard editor and from the code infusion editor.
kind regards
michel
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Sat May 19, 2012 7:11 pm
by michel
Hi Gnozal,
In a large project with many gadgets it happens that a gadget can move although this is accidently while reading or changing properties. Can you imagine a freeze/defreeze option for the gadgets, so that they can only be moved when the freeze option is not selected?
michel
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Sun May 20, 2012 9:00 pm
by le_magn
michel wrote:Hi Gnozal,
In a large project with many gadgets it happens that a gadget can move although this is accidently while reading or changing properties. Can you imagine a freeze/defreeze option for the gadgets, so that they can only be moved when the freeze option is not selected?
michel
I agree, freeze/defreeze option is nice.
p.s. Gozal thank you for update, it fix bug of move image-background from window to another
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon May 21, 2012 1:18 am
by IdeasVacuum
Freeze/Thaw option would be great

Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon May 21, 2012 8:46 am
by gnozal
IdeasVacuum wrote:Freeze/Thaw option would be great

The 'Disable / Enable' button in 'Gadget properties' may be used for this.
Re: PureFORM 1.99 (yet another FORM designer)
Posted: Mon May 21, 2012 10:34 am
by gnozal
Update
Changes:
- code infusion : menu / toolbar / container toolbar events are now handled with procedures (like gadget events)