Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Thisform.Mystatusbar1.Width = Thisform.Width
WITH Thisform.Mystatusbar1
.Panels.Add(Thisform.Mystatusbar1.Panels.Count + 1)
.Panels(Thisform.Mystatusbar1.Panels.Count).Width = 200
ENDWITH
ThisForm.mystatusbar1.Panels(2).Text = 'Test text'
WITH ThisForm
.mystatusbar1.Panels(.spPanelNumber.Value).Text = ;
Alltrim(str(RECNO())) + ' of ' + Alltrim(str(reccount()))
ENDWITH
With Thisform.Mystatusbar1
.Panels.Remove(.Panels.Count)
Endwith
STORE LOADPICTURE(Home() + 'Graphics\TRFFC10A.ICO') TO oGreenLight
Thisform.Mystatusbar1.panels(1).Picture = oGreenLight
FOR zzz = 0 TO 12
STORE 'oBar' + Alltrim(Str(zzz)) TO cNewVar
PUBLIC (cNewVar)
STORE LOADPICTURE('Graphics\' + Substr(cNewVar, 2) + '.bmp') TO (cNewVar)
NEXT
With Thisform.Mystatusbar1
.panels(3).Width = 150
.panels(3).Picture = oBar0
For zzz = 0 To 12
obar = 'oBar' + Alltrim(Str(zzz))
.panels(3).Picture = &obar
Inkey(.5)
NEXT
.panels(3).Picture = .null. &&... no picture when done
Endwith
STORE Thisform.mystatusbar1.Panels.Count TO nHowMany
For zzz = 1 TO 6
With Thisform.Mystatusbar1
.Panels.Add(zzz + nHowMany )
.Panels(zzz + nHowMany ).Width = IIF(zzz > 4, 70, 40) &&... clock and date need to be wider
.Panels(zzz + nHowMany ).Style = zzz
Endwith
Next
Thisform.Mystatusbar1.Panels(3).Width = 150
Thisform.Mystatusbar1.Panels(3).Width = Thisform.Text1.value
-or-
Thisform.Mystatusbar1.Panels(3).Width = Thisform.Spinner1.value
STORE LOADPICTURE(Home() + 'Graphics\TRFFC10A.ICO') TO oGreenLight
Thisform.Mystatusbar1.Panels(1).Width = 300
Thisform.Mystatusbar1.panels(1).Picture = oGreenLight
Thisform.Mystatusbar1.panels(1).Text = "This is the green light"