Re: Frustrating page tab captions

Author: mbsoftwaresolutions@mbsoftwaresolutions.com

Posted: 2014-05-28 at 11:36:30

On 2014-05-28 02:10, Geoff Flight wrote:

> Hello all,

>

> I still read this list but I have moved onto managing a training

> company now

> but have a VFP contacts/mailing database we use. It all works well but

> I

> just tried to get the caption for page1 to read "Details (X)" with X

> replaced by a ranking field. brain-dead easy right? My code for this

> is...

>

> thisform.pageframe1.page1.caption='Details ('+srit_db.crank+')'

>

> The result is as follows... "(Details (X"

>

> not only is the last parenthesis coming up first instead of last it has

> swapped it around. I remember in my former career having problems with

> it

> and if I recall right, gave up on it.

>

> Does anyone have a reason for this behaviour and better still... a

> work-around?

>

> Cheers

>

> Geoff Flight

> SRIT

Hi Geoff,

I actually asked this years ago here. My workaround was to retool it:

> thisform.pageframe1.page1.caption='Details - '+srit_db.crank

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/fd903c39eb7e6de5dc52829379b75c0b@mbsoftwaresolutions.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 mbsoftwaresolutions@mbsoftwaresolutions.com