Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizer doesn't do StatusBar
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01053808
Message ID:
01053853
Views:
10
Hello All,

I have solved this issue by adding the 'font' suffix to the assignment:
.OleStatBar.Font.Size = .pbNew.FontSize
I was also able to solve the other issue about the OLE Status Bar not 'growing' in width and filling the bottom of the form. My Resize method now appears as follows:
WITH THISFORM
   LOCAL lnFormWidth
   
   .Resizer1.Resize()
   
   .eSetGrid()
   
   ** panel widths: 
   lnFormWidth = .Width
   .OleStatBar.Panels(1).Width = (lnFormWidth * 8.0) / 100
   .OleStatBar.Panels(2).Width = (lnFormWidth * 10.8) / 100
   ** etc **

   .OleStatBar.Font.Size = .pbNew.FontSize

   ** resize status bar
   .OleStatBar.Width = .Width - 10
  
ENDWITH
There is no need to reply to this message. Thanks anyway.

Regards...Rex
Rex Toomey
ISD Port Macquarie NSW
Australia

'Inside every older person is a younger person wondering what happened.'
Previous
Reply
Map
View

Click here to load this message in the networking platform