Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how i insert a flashing statik text in powerbuilder ???? please help

Status
Not open for further replies.

migamiga

Programmer
May 21, 2011
5
how i insert a flashing statik text in powerbuilder ???? please help
 
You need to set up a timer on the window and use it to alternate the textcolor property. You can do something like

Code:
long ll_textcolor

ll_textcolor = statictext.TextColor 

CHOOSE CASE ll_textcolor
  CASE RGB(0,0,0)
      statictext.textcolor = RGB(255,255,255)
  CASE RGB(255,255,255)
      statictext.textcolor = RGB(0,0,0)
END CHOOSE

Then start the timer whenever you want to have the thing blink
Use TIMER(.25) for a quarter second interval or something similar
TIMER(0) turns it off.

Matt


"Nature forges everything on the anvil of time"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top