I get this error from code below:
1) line33: CreateWindowEx_() is not a function(of not available in demo version1), macro, array or linked list. Somehow I lost this file.
2) newFile: line 0: 'includefile' too deeply nected (over 128 inclusions), probably ad endless recursivity.
Viaual Controls ??s:
3) In Euphoria, I am used to using a control named wxScrolledWindow, where I can load Controls(lets say 'Button's or 'Tab's) into the wxScrolledWindow. What would be the equivalent Control in pb?
Also, in the Objects viewer, I see panel1 is the child of 'new window'. And 1st_Tab1 is the child of Panel1, and Panel2 is the child of Tab1, and on downward. .
4) And, how did I get a Tab1 as child of new window, no panel involved?
Open Files??s:
5) When I go to OpenFile in pb, it opens the dialog ar 'My documents', how can I get it to open here: 'C:\Program Files\PureBasic\Projects'
6) And how come this pgm includes itself: IncludeFile "vm02.pb"
7) a) I am confused about file extensions: Save from pbvd creates a *.pbv,
b) "Create source" creates a *.pb file?
c) input to pb is a pb file , or a pbv file?
d) Output from pb is what?
Thanks!
Below are *.pb and *.pbv
Code: Select all
*
; PureBasic Visual Designer v3.95 build 1485 (PB4Code)
IncludeFile "vm02.pb"
Open_Window_0()
Repeat ; Start of the event loop
Event = WaitWindowEvent() ; This line waits until an event is received from Windows
WindowID = EventWindow() ; The Window where the event is generated, can be used in the gadget procedures
GadgetID = EventGadget() ; Is it a gadget event?
EventType = EventType() ; The event type
;You can place code here, and use the result as parameters for the procedures
If Event = #PB_Event_Gadget
If GadgetID = #ScrollArea_0
ElseIf GadgetID = #Editor_0
ElseIf GadgetID = #Container_0
ElseIf GadgetID = #Panel_0
ElseIf GadgetID = #Panel_1
ElseIf GadgetID = #Panel_2
ElseIf GadgetID = #Button_1
ElseIf GadgetID = #Button_2
ElseIf GadgetID = #Panel_3
ElseIf GadgetID = #Panel_4
ElseIf GadgetID = #Gadget_11
EndIf
EndIf
Until Event = #PB_Event_CloseWindow ; End of the event loop
End
;
