Hello,
I have only 4 checkbox in preferences -> Form.
The "Generate event loop" checkbox is missing but I have the "Generate event procedure" one.
How can I have the 5 checkbox like we can see in the Purebasic.pdf page 112 of the english version?
Thanks.
Generate Event loop missing in preferences
Re: Generate Event loop missing in preferences
For the gadget you must first write the event procedures yourself in an extra file.
Then you can select them in the form editor
Or have a look at my EventDesignerV4 (Signatur).
MyEvents.pb
Then you can select them in the form editor
Or have a look at my EventDesignerV4 (Signatur).
MyEvents.pb
Code: Select all
Procedure EventButton(EventType)
Select EventType
Case #PB_EventType_LeftClick
;TODO
EndSelect
EndProcedure
Procedure EventEdit(EventType)
Select EventType
Case #PB_EventType_Focus
;TODO
Case #PB_EventType_LostFocus
;TODO
Case #PB_EventType_Change
;TODO
EndSelect
EndProcedure
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Generate Event loop missing in preferences
All right. I am going to take a look at your work. And I will try to understand it. But it is the 3.15.5 in your one drive. There is no V4.
But I don't know why I haven't the Generate event loop checkbox in my preferences?
Thank you for your answer.
Re: Generate Event loop missing in preferences
It was removed in Version 5.42 LTS. If I recall correctly this was because the code generated wasn't multi form aware and wouldn't work properly in projects with more than one form designer originated form. Two (or more) competing event loops would be created rather than a single harmonious one. This was, understandably, causing some confusion for form designer users, particularly new ones. The removal is mentioned in the historical change list but the documentation doesn't appear to have been updated fully to reflect this.jph wrote: Tue Jul 19, 2022 11:01 am But I don't know why I haven't the Generate event loop checkbox in my preferences?
Re: Generate Event loop missing in preferences
Thank you. I won't search no more.
Re: Generate Event loop missing in preferences
Oops:jph wrote: Tue Jul 19, 2022 11:01 amAll right. I am going to take a look at your work. And I will try to understand it. But it is the 3.15.5 in your one drive. There is no V4.
But I don't know why I haven't the Generate event loop checkbox in my preferences?
Thank you for your answer.
Event Designer v3.15.4 is right

Form Options:
- #PB_Any OFF
- Event Procedures OFF
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Generate Event loop missing in preferences
Thank you. It should help.mk-soft wrote: Tue Jul 19, 2022 6:16 pm Oops:
Event Designer v3.15.4 is right
Form Options:
- #PB_Any OFF
- Event Procedures OFF