[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
TextLabel vanishes when resized
[Thread Prev] | [Thread Next]
- Subject: TextLabel vanishes when resized
- From: 066ce286@xxxxxxx
- Date: Fri, 9 May 2025 11:36:57 +0200 (CEST)
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Hi, I'm trying to make a status bar with a [Text]Label. I resize it on the Form_Resize() event. Everything runs fine if 3statusBar" is a Label. But if it is a TextLabel it just vanishes. Any hint ? (Gambas 3.20.3 ) Public Sub Form_Resize() StatusBar.Width = Me.Width StatusBar.Y = Me.Height - StatusBar.Height - 32 StatusBar.X = 0 'Print "Status X/Y" & StatusBar.X & " / " & StatusBar.Y & " " & StatusBar.Width & " x " & StatusBar.Height 'StatusBar.Text = "Status X/Y" & StatusBar.X & " / " & StatusBar.Y & " " & StatusBar.Width & " x " & StatusBar.Height & " computed Y=" & (Me.Height - StatusBar.Height - 32) End
Re: TextLabel vanishes when resized | Bruce Steers <bsteers4@xxxxxxxxx> |