Page 58 of 103
Posted: Thu Jan 31, 2008 10:05 am
by gnozal
Update
Changes :
- fixed issue with 'DrawGadgetLimits' and multiple windows projects
Windows list
Posted: Thu Jan 31, 2008 6:09 pm
by michel
Hello Gnozal,
Everything works fine again. Thank you
Michel
Posted: Sun Feb 03, 2008 8:24 pm
by Kurzer
Hello gnozal,
one little issue regarding the window list within the integrator:
Imagine you have a project which include several windows.
If you click on the entries in the window list the associated window will instantly be shown. But the the window properties under the window list will not be updatet. It will be updatetd at first if you activate the shown window with a mouseclick (and you have to click really in a window aera, not into a panel which may cover 95% of the window area. It's sometimes really peeving). Don't know if this is intendend, but it's not intuitive.
It would be more logically if the associated window properties would also be shown instantly.
Edit: I have another problem with PureFORM. In my current project are 4 windows. One window was set as main-window (using the menu-option Project/Set Main Window). Now all other windows are automatically "child-windows", their Open Window()-instructions will get an ParentWindow-ID-parameter...
Code: Select all
OpenWindow(#Window_Message, #PB_Ignore, #PB_Ignore, 765, 270, "Meldung", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_Invisible | #PB_Window_TitleBar, WindowID(#Window_Main))
... it is the last parameter.
But exactly that will cause an ominously behavior of the window in the running application. If I minimize this window, then it won't be placed in the taskbar. Instead it will be minimized to 160 x 25 pixels and placed at the bottom/leftmost location of the desktop (above the windows start button).
So my question is: How I can change the state of this window to be an independent window (PureFORM must not place the ParentWindow-parameter in this case)

Posted: Mon Feb 04, 2008 12:19 pm
by gnozal
kurzer wrote:one little issue regarding the window list within the integrator: ...
Should be fixed in build 265.
kurzer wrote:I have another problem with PureFORM. In my current project are 4 windows. One window was set as main-window (using the menu-option Project/Set Main Window). Now all other windows are automatically "child-windows", their Open Window()-instructions will get an ParentWindow-ID-parameter ...
That's the idea of a main window, as it was requested by some users.
kurzer wrote:... So my question is: How I can change the state of this window to be an independent window (PureFORM must not place the ParentWindow-parameter in this case)
You can't.
All you can do is not use a main window.
Posted: Mon Feb 04, 2008 12:44 pm
by Kurzer
Thank you for clarifying the -hem- 'issue' with the main window. So it was my own 'unknowingness' in correct window programming. I'm still a beginner on windows internas.
[Edit]: Hm, but it is possible to modify the generated GUI-source that way, that the application have one parent window, two child windows and one independent window.
If I remove the last parameter [ParentWindowID] in the OpenWindow() instruction for the "Meldung"-window, then all works like expected (the "Meldung"-window minimize correct to the taskbar and the other windows behave like before).
Question: Would this be a wrong way to programm window applications? Is it unusual to open a parentwindow with childwindows and at the same time another independent windows which are not linked to the parent window?
(Sorry for the (maybe) stupid question - I'm an Ex-Amiga programmer back from the 90's reanimating my early hobby

)
Posted: Tue Feb 05, 2008 11:42 am
by gnozal
kurzer wrote:Hm, but it is possible to modify the generated GUI-source that way, that the application have one parent window, two child windows and one independent window.
Ok ...
kurzer wrote:Question: Would this be a wrong way to programm window applications?
I don't know wrong ways, only working or not working code. I am an ex-TI57 and VC-20 hobby programmer

. If it does what you expected, then it's good

Posted: Tue Feb 05, 2008 1:06 pm
by gnozal
Update
Changes :
- new main menu item 'Toggle child window' : toggles child window status on/off (when a main project window is defined, all other windows are it's child windows by default).
Posted: Tue Feb 05, 2008 1:11 pm
by Kurzer
Well, then I have (again

) a suggestion for PureFORM.
Give each Window one of this three states:
(o) Parent Window ( ) Childwindow of -> [----------] ( ) Independent Window.
(0) ( ) = Radiobutton
[----------] = Combobox filled with all existing parent windows
Bye Markus
edit: damn, I was to slow.... you released allready a new version.

edit2: With the radiobutton-methode you can declare more than one parent window in an application.
Posted: Tue Feb 05, 2008 1:17 pm
by gnozal
kurzer wrote:edit: damn, I was to slow.... you released allready a new version.
I hope it works as expected.
kurzer wrote:edit2: With the radiobutton-methode you can declare more than one parent window in an application.
You can define only one main project window in PureFORM.
Why would you want several parents ?
Posted: Tue Feb 05, 2008 1:31 pm
by Kurzer
To be honest, I have no real example for this and for my current needs your solution is sufficient.
But if I have a look into WIN32.hlp and look for CreateWindow(), then I suppose such a constelation is legitimately. But is it also practicable? I dont know.
Anyway, thank you for the incredible fast adaption! *thumbsup*
Posted: Fri Feb 08, 2008 1:13 pm
by gnozal
Update
Changes :
- no more manual indentation markers (;> ;= ;<) in generated code
Posted: Sun Feb 10, 2008 8:32 pm
by Kurzer
Small bug in PureFORM build 267:
If you clone a button gadget and rename the gadget text to something you need, then the buttontext in Integrators gadget list does not change simultaneous. You first have to close and reopen the Integrator window to see the new button text within the list.
Posted: Mon Feb 11, 2008 10:57 am
by gnozal
kurzer wrote:Small bug in PureFORM build 267:
If you clone a button gadget and rename the gadget text to something you need, then the buttontext in Integrators gadget list does not change simultaneous. You first have to close and reopen the Integrator window to see the new button text within the list.
Should be fixed in next release.
Posted: Tue Feb 12, 2008 8:42 am
by gnozal
Update (build 270)
Changes :
- build 268 : fixed gadget list sometimes not updated when changing gadget text in properties
- build 268 : less flickering when gadget list is updated
- build 268 : less flickering when code view is updated
- build 270 : fixed antiflickering for codeview not working properly under win XP
Posted: Tue Feb 12, 2008 11:50 pm
by breeze4me
Thank you for this convenient tool.
I'm trying to use it, but I have a trouble.
'Gadget text' is not correctly displayed with some multibytes characters, and original text string is changed into incorrect characters.
see this.
Could you fix this problem?