• Welcome to PlanetSquires Forums.
 

Missing FRMFOO_Show() function

Started by Andrew Lindsay, January 10, 2016, 05:15:07 PM

Previous topic - Next topic

Andrew Lindsay

Paul,


With the FreeBasic Version, how do I show another form?


In the PB Version, for form FOO, it was just FRMFOO_Show (), but I get an error saying that Variable FRMFOO_Show is not defined.


Or is there a different way to do things with FireflyFB?


Regards


Andrew

Paul Squires

Hi Andrew,

Both versions work exactly the same way when displaying a form.

Function FRMFOO_Show( ByVal hWndParent As HWND, _
                             ByVal ShowModalFlag As Long, _
                             ByVal UserData As Long = 0 _
                             )  As HWND

Check your generated code to see if the function is generated.
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Andrew Lindsay

Thanks Paul, late nights, plus a shift to night shift haven't helped the old cognitive skills.


It was there, I was just unable to spell the form correctly, then when I did spell the form correctly, I forgot about not needing the % for TRUE instead of %TRUE as in PB.


Regards
Andrew