Home » Developer & Programmer » Forms » Shadow in Text Item hide first letter/number (Forms 6i, Linux)
Shadow in Text Item hide first letter/number [message #341346] Mon, 18 August 2008 07:50 Go to next message
MissElectra
Messages: 17
Registered: May 2008
Junior Member
Hi experts,

As we see in the attached file pb_shadow.gif, all our Text Items have a shadow that hide the first letter/number. This shadow make it difficult to read the value in the Text Item: in the example shown in the attached file, we don't know if the first number is 3, 8 or 9.
Do you know how remove it? We don't have found a ressource in Tk2Motif.rgb file that manage it.

Thanks for your helps.

Sandrine.

P.S: Our application works on Client-Server, not on Web.
Re: Shadow in Text Item hide first letter/number [message #341357 is a reply to message #341346] Mon, 18 August 2008 09:23 Go to previous messageGo to next message
Littlefoot
Messages: 21821
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
What is this item's Bevel (Physical) property (compared to other items' ones)?
Re: Shadow in Text Item hide first letter/number [message #341359 is a reply to message #341357] Mon, 18 August 2008 09:32 Go to previous messageGo to next message
MissElectra
Messages: 17
Registered: May 2008
Junior Member
the bevel property of all items is Lowered.
Re: Shadow in Text Item hide first letter/number [message #341487 is a reply to message #341359] Tue, 19 August 2008 01:32 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have a look at http://www.orafaq.com/forum/m/118948/67467/?srch=bevel+pixel#msg_118948

Change your bevelling.

David
Re: Shadow in Text Item hide first letter/number [message #341532 is a reply to message #341487] Tue, 19 August 2008 04:17 Go to previous messageGo to next message
MissElectra
Messages: 17
Registered: May 2008
Junior Member
I am testing all bevel values and I have the problem for all of them.
When I take the mouse cursor in the Text Item, a grey beam appear at the beginning of the Text Item. It seems to be the same size of I-beam cursor. When I move the I-beam, the grey beam stay at the beginning of the Text Item and hide the first letter.

As the problem is for the first letter, resizing the Text Item won't work. Do you know if it exists a property to move text forward inside the Text Item?
Re: Shadow in Text Item hide first letter/number [message #341655 is a reply to message #341532] Tue, 19 August 2008 17:19 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Which release of Forms 6i are you using? Which version of JInitiator are you using?

Please confirm your font properties, that is, Name=Times New Roman, Size=10 (4 less than Physical, Height), Weight=Medium, Style=Plain, and Spacing=Normal.

David
Re: Shadow in Text Item hide first letter/number [message #341778 is a reply to message #341655] Wed, 20 August 2008 05:05 Go to previous messageGo to next message
MissElectra
Messages: 17
Registered: May 2008
Junior Member
Version of Forms: ORACLE9-FORMS6I-6.0.8.24-1

The version of JInitiator is 1.3.1.17, I think, but we don't use it. We don't work on Web.

The value of Text Items' font property is
-*-helvetica-bold-r-normal--14-*-*-*-p-*-iso8859-1


Re: Shadow in Text Item hide first letter/number [message #341782 is a reply to message #341655] Wed, 20 August 2008 05:21 Go to previous messageGo to next message
MissElectra
Messages: 17
Registered: May 2008
Junior Member
I just realize that on the development platform (where we make the program), the installed package Forms is ORACLE9-FORMS6I-9.2.0.8-0.

I don't know why the package is not the same as on execution platform. Our system adminstrator is on vacation.

Is it important?

Re: Shadow in Text Item hide first letter/number [message #341990 is a reply to message #341782] Thu, 21 August 2008 00:47 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
From where are you getting Forms version? Yes, the two systems SHOULD be the same version just so that you don't have to ask the "did having different versions cause this problem?"

From where did you get the font properties?

Did you try changing the bevelling?

David
Re: Shadow in Text Item hide first letter/number [message #342068 is a reply to message #341990] Thu, 21 August 2008 04:47 Go to previous messageGo to next message
MissElectra
Messages: 17
Registered: May 2008
Junior Member
On Linux development machine and Linux execution machine, I executed the command "rpm -qa | grep -i Forms" and I get these versions.
But when I executed "f60run" from execution machine, and "f60genm" from development machine, I get the same version
6.0.8.25.2. I will ask to my platform administrator who will come back monday.

We have our own fonts aliases defined in a directory which is added
in the Font Path. The font used in Forms is "electra-moyen-gras" that is the alias for -*-helvetica-bold-r-normal--14-*-*-*-p-*-iso8859-1.

I tested all values for bevel property (cf. message dated Tue, 19 August 2008 11:17 )

Sandrine.
Re: Shadow in Text Item hide first letter/number [message #342264 is a reply to message #342068] Thu, 21 August 2008 18:22 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Do you use the Forms Builder or are you just modifying the 'fmt' file?

David
Re: Shadow in Text Item hide first letter/number [message #342381 is a reply to message #342264] Fri, 22 August 2008 03:41 Go to previous messageGo to next message
MissElectra
Messages: 17
Registered: May 2008
Junior Member
I use Forms Builder.

Sandrine
Re: Shadow in Text Item hide first letter/number [message #343318 is a reply to message #342381] Tue, 26 August 2008 23:15 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Then tell me the properties that exist in the Form Builder for the font and version number (press the Help button to show the version).

David
Re: Shadow in Text Item hide first letter/number [message #348022 is a reply to message #343318] Mon, 15 September 2008 07:21 Go to previous messageGo to next message
MissElectra
Messages: 17
Registered: May 2008
Junior Member
Sorry about my later answer but I was on vacation.

The version of Forms builder used is Forms 6.0 (Form Builder) Version 6.0.8.25.2 (Production)

This is the Font properties and the values that we set:
Font Name: electra-moyen-gras
Font size: 14
Font Weight: Medium
Font Style: Plain
Font Spacing: Normal

Sandrine.
Re: Shadow in Text Item hide first letter/number [message #348169 is a reply to message #348022] Mon, 15 September 2008 18:34 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
In the Property Pallette, what is the 'Justification' that you have on your items? Try 'left' versus 'start', maybe 'center' to ss what happens.

Have you tried using 'times roman' as the font?

Please post an image of your screen when you have bevelling set to 'none' or 'plain'.

David
Re: Shadow in Text Item hide first letter/number [message #348337 is a reply to message #348169] Tue, 16 September 2008 08:03 Go to previous messageGo to next message
MissElectra
Messages: 17
Registered: May 2008
Junior Member
Actually, we use Left justification.

We test "Justification=start", "font=Times" but the problem always exists.
The value Center of 'Justification' properties should correct the problem but apply this solution cost many times (we have more than 20 windows in which there are many Text item) and before chosing it, our customers want us to continue the investigation.

We post an image with 2 windows: we apply bevel none to Text item "Azimuth fin." in the first window and bevel plain to "Inclin. min" in the second.

Sandrine.
/forum/fa/5034/0/
[EDITED by DJM: inserted image into thread]

[Updated on: Wed, 17 September 2008 21:06] by Moderator

Report message to a moderator

Re: Shadow in Text Item hide first letter/number [message #348758 is a reply to message #348337] Wed, 17 September 2008 21:24 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Do you have the last version of Forms 6 for your environment?

Have you searched metalink for this problem?

Change your items to non-database items and when you display them place a blank character at the beginning. Then in the When-Validate-Item trigger move the contents to the database item and then let its WVI trigger continue to do the verification.

David
Re: Shadow in Text Item hide first letter/number [message #349957 is a reply to message #348758] Tue, 23 September 2008 10:36 Go to previous messageGo to next message
MissElectra
Messages: 17
Registered: May 2008
Junior Member
a SR had been sent to Oracle metalink and today they find how to resolve our problem. In our resources file Tk2Motif.rgb, the value 2 of marginWidth properties (Tk2Motif*field.marginWidth and Tk2Motif*tedit.marginWidth) wasn't sufficient. With the value 3, the shadow disappear.

Thank you for your help.

Sandrine.
Re: Shadow in Text Item hide first letter/number [message #350052 is a reply to message #349957] Tue, 23 September 2008 23:42 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
It is intersting to search this forum for 'Tk2Motif marginWidth' and also to google the same search.

Definitely, a Linux/Unix type of thing.

David
Previous Topic: 6i to 10g Migration
Next Topic: Run Report Call Form At report runtime how to possible
Goto Forum:
  


Current Time: Mon Nov 11 02:17:35 CST 2024