PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Missing FRMFOO_Show() function  (Read 1478 times)

Andrew Lindsay

  • Junior Member
  • **
  • Posts: 76
Missing FRMFOO_Show() function
« on: January 10, 2016, 05:15:07 PM »

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
Logged

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8865
  • Windows 10
    • PlanetSquires Software
Re: Missing FRMFOO_Show() function
« Reply #1 on: January 10, 2016, 07:06:43 PM »

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.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Andrew Lindsay

  • Junior Member
  • **
  • Posts: 76
Re: Missing FRMFOO_Show() function
« Reply #2 on: January 11, 2016, 03:53:28 PM »

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
Logged