PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3] 4 5 ... 10
 21 
 on: February 20, 2020, 02:23:39 PM 
Started by SeaVipe - Last post by Paul Squires
Okay, this is now fixed. Had to ensure that ListView_SetItemCountEx was called prior to turning the control's WM_REDRAW back on regardless of whether the BeginUpdate was active or not.

 22 
 on: February 20, 2020, 02:06:06 PM 
Started by SeaVipe - Last post by Paul Squires
Thanks Clive - I have been able to replicate the crash. I will now work on a fix.

 23 
 on: February 20, 2020, 01:06:38 PM 
Started by SeaVipe - Last post by SeaVipe
Hi Paul,
My compiled app will crash when the following code is called on a previously populated ListView (it works fine on a ListView that hasn't yet had Rows added):
Code: [Select]
ListView1.BeginUpdate
ListView1.Items.Clear
To solve this I reversed the order of the commands:

Code: [Select]
ListView1.Items.Clear
ListView1.BeginUpdate
However, if the same code (with the above fix) is compiled with 2.0.3, that app will now crash were it wouldn't prior to reversing .Clear and .BeginUpdate.

 24 
 on: February 19, 2020, 08:19:29 PM 
Started by Paul Squires - Last post by Paul Squires
Version 2.0.5 (February 19, 2020)
- Fixed: Multiple Tab Controls on a form would result in code generation error.
- Fixed: Regression: Forms with StatusBar would make ListBoxes and Labels not display their contents.
- Fixed: If no valid Menu items exist then "Display on Form" checkbox in the Menu Editor is cleared and no menu code is generated.

https://github.com/PaulSquires/WinFBE/releases

 25 
 on: February 19, 2020, 07:30:23 PM 
Started by James Klutho - Last post by James Klutho
Thanks.  I will give it a shot.  The include file statement is what I omitted.

 26 
 on: February 19, 2020, 06:01:25 PM 
Started by Paul Squires - Last post by SeaVipe
Thanks, Josť, that fixed the CVAR errors I was getting.

 27 
 on: February 19, 2020, 04:56:24 PM 
Started by Paul Squires - Last post by Josť Roca
The latest FB compiler was giving me unexpected errors with CVAR even when it was not used and only included. I have added a couple of constructors that seem to fix the problem, at least for now.

The attached file contains the modified file.

 28 
 on: February 19, 2020, 03:20:04 PM 
Started by Paul Squires - Last post by Paul Squires
Quote
To fully remove Main Menu, ToolBar and StatusBar: in the individual editors, UnCheck "Display on form" then remove all related code - then save.

Yes, that's right. Each of the editors generate boilerplate code for events to handle Clicks, etc. Those event handlers have parameters containing objects associated with menu, toolbar, statusbar that has not been generated (because the underlying control has been removed).

 29 
 on: February 19, 2020, 03:14:33 PM 
Started by Paul Squires - Last post by Paul Squires
Just made this change:
If no valid Menu items exist then "Display on Form" checkbox in the Menu Editor is cleared and no menu code is generated.

 30 
 on: February 19, 2020, 02:32:30 PM 
Started by Paul Squires - Last post by Paul Squires
I have the StatusBar/Label/ListBox issue fixed. Stupid error on my part, of course.
I will do the MainMenu issue next.

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