On my previous post I had a typo, the command line should have been:

PROPERTY vci_upd_sign ENABLED 'FALSE'

Minus the "T" in front of FALSE. I did have it correct in my actual code.

Javier,

Javier Valencia, PE
O: 913-829-0888
H: 913-397-9605
C: 913-915-3137


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Javier
Valencia
Sent: Friday, April 26, 2013 9:17 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Property Commands for Menu Bar

Hartmut, Bill,

You might want to  check  Bill Downall's suggestion. When you copy items
from the Data Dictionary, it always adds a blank space at the end, which is
nice if you are building a command line, but not so nice if you are copying
it to a component ID. It is the first thing I check if a Property command is
not working.

Last night I was working on a form and I had the following command line:

PROPERTY vci_upd_sign ENABLED 'TFALSE'

I would trace the code and the command would execute but the bit button
would not get disabled. I created a duplicate Enhanced Speed button with the
same results. I tried running the form from the Explorer (instead of the
designer mode) with similar results.
I was ready to send a question to the board but I decided to copy the
component ID from my command line and paste it to the buttons component IDs
making sure, once again, that there was no trailing blank space. The
component ID seemed identical to the original; however the code with the
PROPERTY command started to work...go figure...Maybe the component ID was
corrupted and had some non-displayable characters that were corrected when I
copied a fresh version of the component ID.
I have gotten this type of error a few times, where code would not work and
then started working after I reconnected the database or re-started the
session.
I am using Windows 7 and all the versions were installed using the R:Base
installer and upgrader using the default settings, so I am pretty sure I
don't have any stray DLLs.
You might try disconnecting/re-connecting your database or restarting the
R:Base session, or re-starting your computer and seeing if it  helps. I
don't recall having this type of issues in Windows XP.  

Javier,

Javier Valencia, PE
O: 913-829-0888
H: 913-397-9605
C: 913-915-3137


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dr. Hartmut
Braun
Sent: Friday, April 26, 2013 8:04 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Property Commands for Menu Bar

Bill, Javier,

the command

PROPERTY akt01ID CAPTION .vakt01
or
PROPERTY RBASE_FORM|akt01ID CAPTION .vakt01

isn't working also. I need it for multilingual apps.

Hartmut Braun

Am 26.04.2013 14:33, schrieb Bill Eyring:
> Javier,
>
> I've tried this code with and without a theme in the form On After 
> Start eep;
>
> property mb_accounts FONT_NAME 'tahoma'
> property mb_accounts FONT_SIZE '12'
> Ret
>
> The component id of mb_accounts is assigned on each main and sub-menu 
> choice
>
> Thanks,
>
> Bill
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Javier 
> Valencia
> Sent: Thursday, April 25, 2013 11:03 PM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - RE: Property Commands for Menu Bar
>
> Are you using a theme? Maybe the theme settings are overriding your 
> commands.
> You might want to post the actual code you are using and where is the 
> code located.
>
> Javier,
>
> Javier Valencia, PE
> O: 913-829-0888
> H: 913-397-9605
> C: 913-915-3137
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Bill 
> Eyring
> Sent: Thursday, April 25, 2013 7:44 PM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - Property Commands for Menu Bar
>
> I am playing around with the menu bar in form designer using the 
> latest rb Extreme 64 version.
>
> For each menu main item and sub-menu item one can assign a component id.
>
> I have tried all of these property commands with my assigned component 
> id's and can't get them to work.
>
> PROPERTY <Component ID> FOCUSCOLOR 'Value'
> PROPERTY <Component ID> FONT_BOLD 'TRUE'
> PROPERTY <Component ID> FONT_COLOR 'Value'
> PROPERTY <Component ID> FONT_NAME 'FONT_NAME'
> PROPERTY <Component ID> FONT_SIZE 'nnn'
> PROPERTY <Component ID> MENUBACKGROUNDCOLOR 'value'
> PROPERTY <Component ID> MENUFONTCOLOR 'value'
> PROPERTY <Component ID> MENUFONTSIZE 'nnn'
> PROPERTY <Component ID> THEMEAWARE 'TRUE'
>
> Can anyone give me some blues clues to get them to work ? The default 
> menu bar is kind of dull.
>
>
> Thanks,
>
> Bill Eyring
> Lamp Software, Inc.
>
> --- RBASE-L
> ================================================
> TO POST A MESSAGE TO ALL MEMBERS:
> Send a plain text email to [email protected]
>
> (Don't use any of these words as your Subject:
> INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, REMOVE, SUSPEND, RESUME, 
> DIGEST, RESEND, HELP) ================================================
> TO SEE MESSAGE POSTING GUIDELINES:
> Send a plain text email to [email protected] In the message SUBJECT, 
> put just one word: INTRO 
> ================================================
> TO UNSUBSCRIBE:
> Send a plain text email to [email protected] In the message SUBJECT, 
> put just one word: UNSUBSCRIBE 
> ================================================
> TO SEARCH ARCHIVES:
> Send a plain text email to [email protected] In the message SUBJECT, 
> put just one word: SEARCH-n (where n is the number of days). In the 
> message body, place any text to search for.
> ================================================
>
> --- RBASE-L
> ================================================
> TO POST A MESSAGE TO ALL MEMBERS:
> Send a plain text email to [email protected]
>
> (Don't use any of these words as your Subject:
> INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, REMOVE, SUSPEND, RESUME, 
> DIGEST, RESEND, HELP) ================================================
> TO SEE MESSAGE POSTING GUIDELINES:
> Send a plain text email to [email protected] In the message SUBJECT, 
> put just one word: INTRO 
> ================================================
> TO UNSUBSCRIBE:
> Send a plain text email to [email protected] In the message SUBJECT, 
> put just one word: UNSUBSCRIBE 
> ================================================
> TO SEARCH ARCHIVES:
> Send a plain text email to [email protected] In the message SUBJECT, 
> put just one word: SEARCH-n (where n is the number of days). In the 
> message body, place any text to search for.
> ================================================
>
>
>


Reply via email to