--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
> 
> PowerPro beta 4.2.02 available at
> 
> http://powerpro.webeddie.com/download/ppro4202.zip
> 
> - you can now use one format contexif with a bar
> - added "rawactive" for caption list match
> - added win.fullscreen, win.hascaption

Obviously, win.hascaption is more sophisticated than just returning 
true or false for whether or not the caption string is empty, 
however, I discovered something unexpected and I thought I'd warn 
everyone of the behavior I observed.  In MS Visual Studio 2003 the 
drop down lists for properties apparently aren't regular drop down 
lists.  Microsoft can't seem to use their own common controls, 
apparently they have to constantly invent new ones.  Anyway, 
win.hascaption returns 2 for the part that actually drops down (not 
the part that has the currently selected choice in it), but the 
caption for this "window" is blank according to *window info.  This 
causes my caption bar to appear.  I fixed it by adding:

and win.caption("active") != "" 

to the expression in my contextif.  I don't know why the drop down 
list thinks it has a toolbar caption because it certainly doesn't 
look like any other windows that have a toolbar caption.  Thanks 
again for the new feature!  

Brian Cunningham





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/
 



Reply via email to