Hi Russ,

no, that's what I meant. When I hit 'run', the name of the constant is shown in the listing header of the compiled app.
So the listing reads (while running the app) #kProjectString

maybe let's rerun what i did:

0) In my constantmodule if defined constant kProjectOverview = "Projecten" (Default value)

1) put a listbox with 2 columns in a window. The first column width = 0
2) checked for the listbox HasHeading
3)intialvalue = TAB(for compensating the first column) #kProjectOverview

In the listbox header appears #kProjectOverview. Same goes when it build & run
<<<<<lightbulb>>>>

<<testing>>

<<succes :-) and understanding>>

the problem I was having originated from the use of the tab. I suppose that for RB to understand that I am inserting constants the FIRST character needs to be the # sign The moment I set the initialvalue to #kProjectOverview (TAB) #kProjectOverview my string appears

<<another quick test>>

It seems I cannot define a constant kProjectListHeader with the values Project_id (TAB) Projecten. The constantdefinition default area does not accept the tab. That's an omission in my view. One bit wiser (getting closer to that mythical 1Kb)



Thx,

Bart

PS: rerunning things the day after is a GOOD thing


On 15-sep-06, at 16:42, Russ Jones wrote:


On Sep 15, 2006, at 10:03 AM, Bart Pietercil wrote:

Hi Russ,

thx for looking into this.

I pretty much did what you suggested, no joy

Read on.

On 15-sep-06, at 15:51, Russ Jones wrote:
In my test, I used Mac Mach-O and Mac Carbon PEF as the alternatives for Ttl, and an InitialValue of #Ttl.

Now this bit (these bytes?) I don't understand. Ttl ?, #Ttl

Ttl was the name of the constant I defined, that's all.

I'm running on a MacBook Pro (intel) using RB2006Pro release 3

The headings showed up properly in the two different builds.

Thx

Bart

I suspect that you are expecting the IDE to show a difference immediately when you change the Project>Build Settings>Language. The change doesn't show in the IDE with such a change. I suspect it depends on the system default language instead.

But once you do a build (or a Run) the correct value will be used.

Let me know if this is not enough.

Russ



Russ Jones
[EMAIL PROTECTED]
RB 2006r3 MacOS 10.4.7





_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to