PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4 ... 10
 11 
 on: September 06, 2020, 07:47:02 AM 
Started by Softfoot - Last post by Paul Squires
I can honestly say that I have never seen this type of behaviour with WinFBE.

Can you explain how you installed WinFBE? I assume that you downloaded the latest 2.17 WinFBE_Suite rar archive from https://github.com/PaulSquires/WinFBE/releases  That rar file direct download link is https://github.com/PaulSquires/WinFBE/releases/download/2.1.7/WinFBE_Suite.rar

Unzip the WinFBE_Suite.rar file to a folder on your hard drive.

Is that how you installed WinFBE? I ask this simple question because it appears that somehow WinFBE's config file is either not being read correctly or is being corrupted somehow. The correct setup will also allow WinFBE to find the correct language file in order to display the tooltips. (those are located in WinFBE_Suite\Languages).

 12 
 on: September 06, 2020, 05:45:48 AM 
Started by Softfoot - Last post by Softfoot
I just installed the latest WinFBE (2.1.7) on my Win 7 x64 machine and on running WinFBE 32bit the "tool tips" for the main buttons were OK but as soon as I loaded a source file the tool tips changed to an asian font (see attached screenshot).

I restarted the app and now on loading the source from the recent list te tips were OK but when I compiled and executed the program they reverted back to the funny font. It seems to affect all buttons.

This doesnt seem to happen with WinFBE64.

Nice IDE otherwise.

Dave

 13 
 on: September 05, 2020, 11:53:50 PM 
Started by veltesian - Last post by veltesian
over the last few days i looked into perhaps building a CIniFile type wrapper as it showed in
one of the help files... included is the *.bas & the *.ini file most importantly.

 14 
 on: September 05, 2020, 12:52:22 PM 
Started by SeaVipe - Last post by SeaVipe
Sorry Paul, too much cut and paste! I fixed the typo. For Modeless it should of course be frmJedit.Show not frmJedit.ShowDialog as in my original post. Top and Left are set in a function called from the form's Load event.

 15 
 on: September 05, 2020, 07:33:06 AM 
Started by SeaVipe - Last post by Paul Squires
Hi Clive,

Just a couple of points:

(1) .ShowDialog always displays the form as Modal. Your first example is not modeless because if a parent is not specified for .ShowDialog then the desktop screen is used. To display modeless, you use the .Show method.

(2) At what point are you trying to set the Top and Left properties? In what method handler? Load, Initialize?



 16 
 on: September 04, 2020, 05:39:59 PM 
Started by SeaVipe - Last post by SeaVipe
Hi Paul, I'm not sure if perhaps I'm calling this correctly or not:
This code Shows a form modeless and the Top and Left can be specified by the User (from an ini file for example) (fixed)
Code: [Select]
frmJedit.ShowThis code however, Shows the same form modal but the Top and Left cannot be specified by the User
nor can the Top and Left be accurately saved to an ini file or Print to console etc.
and the Top and Left, when extracted from an ini file, are ignored and (quite often) random negative values are set to the Top and Left.
Code: [Select]
frmJedit.ShowDialog(frmMainJ.hWindow)I successfully use the same code from Main to position and size the main form at startup using Application.Run(frmMainJ).
Both forms have the same properties; BorderStyle Sizable, StartPosition Manual, Window.Sate Normal.

 17 
 on: September 02, 2020, 03:30:43 PM 
Started by jermy - Last post by Paul Squires
Josť beat me to it.  cva_arg

 

 18 
 on: September 02, 2020, 03:25:56 PM 
Started by jermy - Last post by Josť Roca
As the error message says, it is not supported in 64-bit.

Try with the new cva_xxx built-in macros:
See: https://www.freebasic.net/wiki/KeyPgCvaList

 19 
 on: September 02, 2020, 02:41:27 PM 
Started by jermy - Last post by jermy
Dear people,

This line wont compile
Code: [Select]
ap = va_first()   when i want to use Win64, it's okay with Win32.
the compiler says:  error 286: Unsupported statement in -gen gcc mode

Code: [Select]

'------------------------------------------------------------------------
sub glPrint cdecl(byval x as integer, byval y as integer, byref fmt as string, ...)    '' Where The Printing Happens
dim text as string * 256                           '' Holds Our String
dim ap as any ptr                                  '' Pointer To List Of Arguments

'' If There's No Text
' if len(fmt)= 0 then                                '' Do Nothing
' exit sub
' end if

ap = va_first()                                   '' get pointer to first arg
' vsprintf (text, fmt, ap)                          '' And Converts Symbols To Actual Numbers


' glBindTexture (GL_TEXTURE_2D, textures(9).texID)  '' Select Our Font Texture
' glPushMatrix ()                                   '' Store The Modelview Matrix
' glLoadIdentity ()                             '' Reset The Modelview Matrix
' glTranslated (x, y, 0)                        '' Position The Text (0,0 - Bottom Left)
' glListBase (bbase - 32)                       '' Choose The Font Set
' glCallLists (strlen (text), GL_UNSIGNED_BYTE, strptr(text))   '' Draws The Display List Text
' glPopMatrix ()                                    '' Restore The Old Projection Matrix
end sub


Thanks in advance for your help

 20 
 on: August 24, 2020, 10:14:30 PM 
Started by James Klutho - Last post by James Klutho
Thanks Jose.  I got sloppy.  I stared at this for hours.  I forgot to wrap the code in a BN_CLICKED test.  Sorry for the bother.  I'm sailing again.

IF GET_WM_COMMAND_CMD(wParam, lParam) = BN_CLICKED THEN
---------------------
---------------------
END IF

Pages: 1 [2] 3 4 ... 10