Bruce,
It seems like we should have a function that will test a caption with
commas since VisibleWindow and WIN.Visible work with a comma
separated list.
;XXXXXXXXXX
DEBUG
LOCAL h= WIN.Handle("PowerPro Debug")
WIN.Show(h)
LOCAL cap= "Caption with, comma"
WIN.SetText(h,cap)
WAIT.For(500) ;; not necessary
WIN.Debug(cap, VISIBLEWINDOW(cap),WIN.Visible(cap))
WAIT.For(2000)
cap= "Caption without comma"
WIN.SetText(h,cap)
WAIT.For(500) ;; not necessary
WIN.Debug(cap, VISIBLEWINDOW(cap),WIN.Visible(cap))
WAIT.For(2000)
WIN.SetText(h,"PowerPro Debug")
QUIT
Right now I run everything thru a CaptionCleanup script
VISIBLEWINDOW(.CaptionCleanup(cap)) so it's not a significant issue
except when writing scripts for others.
Ted
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/