Hey, that's kinda neat. I don't think I would use it in an application, but I might use it in the future if I have a simple utility or something that needs a status indicator. Do you have any idea if there is any way to change the font on the status bar, either programmatically or with a setting, like maybe the Windows Control Panel? I was playing around with some way to let the user know where the end of the progress bar would be, and came up with the following. However, it probably won't look very good if the font changes on the status bar.
DECLARE Sleep IN WIN32API INTEGER
FOR ln_Loop = 1 TO 50
_VFP.STATUSBAR = ;
SPACE(5) + "|" + REPLICATE( "I", ln_Loop ) + REPLICATE( ".", 50 - ln_Loop ) + "|"
= Sleep(50)
ENDFOR
>>How it's possible to show a progress bar in a status bar panel ?
>>I tried to overwrite the 2 ocx position, but don't work
>>Any Idea ?
>
>You can try code like this:
>
>DECLARE Sleep IN WIN32API INTEGER
>
>FOR i = 1 TO 500
> _VFP.StatusBar = REPLICATE("|", i)
> =Sleep(50)
>ENDFOR