lable align (hebrew or arbic) problem

a problem with lable text aligment

Page 1 of 1

7 Replies - 5416 Views - Last Post: 01 December 2005 - 08:19 AM Rate Topic: -----

#1 folen  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 07-March 02

lable align (hebrew or arbic) problem

Posted 30 November 2005 - 03:26 AM

am making an asp.net project and an using a database to get a news to put is a lable

the problem is that the news r in hebrew (right to left (not like english left to right))

how can i chnage the align of a lable?

everywhere i look there is a textbox and othere stuff (no lable) :crazy: no lable one i need a lable

thanks ahead
am using:

Label2.Text= retqury.GetString(0);

where retqury is OleDbDataReader

and retqury.GetString(0) returns the rigth text

thanks ahead

Is This A Good Question/Topic? 0
  • +

Replies To: lable align (hebrew or arbic) problem

#2 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: lable align (hebrew or arbic) problem

Posted 30 November 2005 - 08:00 AM

When you get the test itself...is it aligned the way you need it? By this I mean, when you pull the text from a database into a string variable, does it read from right to left?
Was This Post Helpful? 0
  • +
  • -

#3 folen  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 07-March 02

Re: lable align (hebrew or arbic) problem

Posted 30 November 2005 - 09:10 AM

the text in not flipet it reads rigth i need it to begin from the write side of the table (it starts in the meddle and ends at the most left of the table)

i need it to begin at the most rigth

i can read what is in the lable the order is rigth but it's on the left side of the lable

if i ubderstand your q : the string is a string there is no padding of space or anything

if i don't understand : cold u show me the text
lets say the the database get the string in a STRING temp1 ;

what do u want me to check?

thanks again
Was This Post Helpful? 0
  • +
  • -

#4 folen  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 07-March 02

Re: lable align (hebrew or arbic) problem

Posted 30 November 2005 - 09:12 AM

"if i don't understand : cold u show me the text"
sorry for the bad english

i meen cold u show me what to do?

what is the test?

i can write Response.Write( " what");
Was This Post Helpful? 0
  • +
  • -

#5 AdmSteck  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 60
  • Joined: 26-November 05

Re: lable align (hebrew or arbic) problem

Posted 30 November 2005 - 10:13 AM

I'm not sure if I understand you correctly, but if I do you could try setting the textalign or righttoleft properties of the label.
Was This Post Helpful? 0
  • +
  • -

#6 folen  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 07-March 02

Re: lable align (hebrew or arbic) problem

Posted 01 December 2005 - 01:57 AM

for a label there is no textaligen or rigthtoleft properties

that is dor textbox and all othere thing (this is what i said am finding)

i need the same thing but for a label control

(tell me if it's not possible (but i blive all is possible))
Was This Post Helpful? 0
  • +
  • -

#7 Amadeus  Icon User is offline

  • g+ + -o drink whiskey.cpp
  • member icon

Reputation: 248
  • View blog
  • Posts: 13,506
  • Joined: 12-July 02

Re: lable align (hebrew or arbic) problem

Posted 01 December 2005 - 07:30 AM

Which of the .NET languages are you using for the scripting?
Was This Post Helpful? 0
  • +
  • -

#8 folen  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 07-March 02

Re: lable align (hebrew or arbic) problem

Posted 01 December 2005 - 08:19 AM

am using c#

but i did it
this is how if pple want to know
label1.Style.Add("text-align", "right");

(in the end i did it in a textbox)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1