Page 1 of 1

Form Designer view instead of code view In debug

Posted: Thu Mar 20, 2014 12:16 am
by magicjo
Hi.

Test case:

Create an empty form, check to generate Event procedure, save with name TestForm.pbf. (the procedures created would be OpenWindow_1() and Window_1_Events().

Create a new pb, name for example main_testform.pb and insert this code :

Code: Select all

IncludeFile "testform.pbf"

OpenWindow_1()
Prototype func(ev.l)
Define ev.l

Define *p.func=@window_1_events()

Repeat 
	ev=WaitWindowEvent()
	*p(ev)			
Until ev=#PB_Event_CloseWindow
Run with debugger and enter in *p(ev), the Ide shows the form designer instead of code view.