PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 10
 1 
 on: September 10, 2020, 08:48:57 PM 
Started by Paul Squires - Last post by Paul Squires
Thanks jermy, I have recorded the issue and will investigate. Now that the summer is over I will start to get back into uploading more WinFBE releases.

 2 
 on: September 10, 2020, 06:33:44 PM 
Started by Paul Squires - Last post by jermy
There is an error in the line comments  /'  Multiline comment block      '/

Code: [Select]
' frmMain form code file
''
''
Function frmMain_Load( ByRef sender As wfxForm, ByRef e As EventArgs ) As LRESULT
/'  cant use this Multiline comment block method with visual designer, WINFBE generates a new form load function
some comments
'/
    Function = 0
End Function

Code: [Select]
function Empty()
    /'  and this comment block makes the function Empty() disappear in the explorer window
       some more comments 
    '/
end function


 3 
 on: September 08, 2020, 01:28:50 PM 
Started by Softfoot - Last post by Softfoot
OK Thanks


BTW Is there a tutorial for the "visual designer" particularly adding in the code that goes behind things like buttons and listboxes etc ???

Dave

 4 
 on: September 08, 2020, 01:20:21 PM 
Started by Softfoot - Last post by Paul Squires
Hi Dave there are none that I know of that work seamlessly with WinFBE (especially if you are using WinFBE's visual designer). sorry.

 5 
 on: September 08, 2020, 10:57:31 AM 
Started by Softfoot - Last post by Softfoot

Hi, I am running WinFBE and would like to find a graphical (GUI) debugger that works with it.

Are any known (that work) ??  I have tried FBDebugger v2.96 but it throws up a string of error messages when I start it.

Regards,
Dave

 6 
 on: September 07, 2020, 09:40:23 AM 
Started by veltesian - Last post by veltesian
i just used the cIniFile Class code in the winfbx library help section to build that project.
i want to thank jose for including that code so i could put it together & learn about it.
how it works.... the idea involved with the code.....& my learning of programming concepts
i had not before.

 7 
 on: September 06, 2020, 04:12:44 PM 
Started by SeaVipe - Last post by SeaVipe
Hi Paul, nothing that I try makes a difference.




Code: [Select]

Function frmJedit_Load( ByRef sender As wfxForm, ByRef e As EventArgs ) As LRESULT
    Dim cIni As CiniFile = DEFAULTPATH + "\CRM.ini"


    '' Position the form. GetInt returns a Long
    Dim As Long t = cIni.GetInt( "Jeditor", "Top", 50 )
    Dim As Long l = cIni.GetInt( "Jeditor", "Left", 50 )   
   
    frmJedit.Top    = 100 't
    frmJedit.Left   = 100 'l


End Function


The above code positions the form at:
top=-76
left=-513

 8 
 on: September 06, 2020, 12:16:11 PM 
Started by Softfoot - Last post by Softfoot

That is how I installed it and I wasn't aware there was any other way to do it.

As I said when first loaded the program displays the correct tool tips - it is only when I for example compile a program it goes wrong.

Note I am running WINFBE32 under Win764 and compiling for "Win Console 32 Release".

It doesn't happen if I start WINFE64.

Regards,
Dave

 9 
 on: September 06, 2020, 08:02:01 AM 
Started by veltesian - Last post by Paul Squires
Hi, I am not sure that I understand. You say that you are building a wrapper around Jose's WinFBX's CIniFile code but what I see is a form that uses the CIniFile code to load values from an ini and then save values the ini. I guess that your intention was to show how to use the CIniFile class in an actual project rather than build a wrapper around CIniFile itself.

 10 
 on: September 06, 2020, 07:56:22 AM 
Started by SeaVipe - Last post by Paul Squires
Hi Clive, I just created a very simple project to help me visualize the problem you are having. I have a main form with one button on it. I press the button to display a popup modal form. In the popup form's Load handler I use this code:

Code: [Select]
''
''
Function frmPopup_Load( ByRef sender As wfxForm, ByRef e As EventArgs ) As LRESULT
   frmPopup.Top = 100
   frmPopup.Left = 500
   Function = 0
End Function

The above code does seem to reposition the popup form (relative to the screen as opposed to the parent window).

You mention in your post that you are calling another function from with Load in order to set the position of the popup form. As a test, maybe try bypassing that function call and set the form position directly like I have done above. If that works, then slowly add back the code from the function that you were originally calling until you find the area that is generating the weird behaviour. That's worth a shot. Maybe your called function is trying to set the popup forms position relative to its parent window instead of the screen itself?

Pages: [1] 2 3 ... 10