In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Change carret (cursor) possition on Tedit Class
- Dionisis Divaris
- Mensajes: 485
- Registrado: Jue Jul 12, 2007 8:48 pm
- Ubicación: Athens Greece
Change carret (cursor) possition on Tedit Class
Hello
Is there any way to change the carret position in a EditBox. I try
:npos(xx) but nothing happens.
TIA
Dionisis
Is there any way to change the carret position in a EditBox. I try
:npos(xx) but nothing happens.
TIA
Dionisis
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
Change carret (cursor) possition on Tedit Class
Dionisis,
I'm using SetSel(nStart,nEnd)
To set the cursorposition at the end of the text :
oEdit:SetFocus()
oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
Regards
Ingo
"Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>Hello
> Is there any way to change the carret position in a EditBox. I try
>:npos(xx) but nothing happens.
>
>TIA
> Dionisis
>
>
>
I'm using SetSel(nStart,nEnd)
To set the cursorposition at the end of the text :
oEdit:SetFocus()
oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
Regards
Ingo
"Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>Hello
> Is there any way to change the carret position in a EditBox. I try
>:npos(xx) but nothing happens.
>
>TIA
> Dionisis
>
>
>
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
Change carret (cursor) possition on Tedit Class
Dionisis,
I'm using SetSel(nStart,nEnd)
To set the cursorposition at the end of the text :
oEdit:SetFocus()
oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
Regards
Ingo
"Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>Hello
> Is there any way to change the carret position in a EditBox. I try
>:npos(xx) but nothing happens.
>
>TIA
> Dionisis
>
>
>
I'm using SetSel(nStart,nEnd)
To set the cursorposition at the end of the text :
oEdit:SetFocus()
oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
Regards
Ingo
"Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>Hello
> Is there any way to change the carret position in a EditBox. I try
>:npos(xx) but nothing happens.
>
>TIA
> Dionisis
>
>
>
- Dionisis Divaris
- Mensajes: 485
- Registrado: Jue Jul 12, 2007 8:48 pm
- Ubicación: Athens Greece
Change carret (cursor) possition on Tedit Class
Hello Igno
Thank you very mauch for your sugestion. What i looking for is to capitalize
the first letter on Edit with the coresponding greek leter.As xHarbour
dosen't support Upper() or Lower() function for greeks characters i make
one function of my own. But the problem is when changed the first character
(it is maden ok) the carret dosent advanced to the next character position
(i.e 2) to following up with next characters insertion
Many thanks again
TIA
Dionisis
Ï "Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> Ýãñáøå óôï ìÞíõìá
news:44374a2a$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> Dionisis,
>
> I'm using SetSel(nStart,nEnd)
>
> To set the cursorposition at the end of the text :
>
> oEdit:SetFocus()
> oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
>
> Regards
>
> Ingo
>
> "Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>>Hello
>> Is there any way to change the carret position in a EditBox. I try
>>:npos(xx) but nothing happens.
>>
>>TIA
>> Dionisis
>>
>>
>>
>
Thank you very mauch for your sugestion. What i looking for is to capitalize
the first letter on Edit with the coresponding greek leter.As xHarbour
dosen't support Upper() or Lower() function for greeks characters i make
one function of my own. But the problem is when changed the first character
(it is maden ok) the carret dosent advanced to the next character position
(i.e 2) to following up with next characters insertion
Many thanks again
TIA
Dionisis
Ï "Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> Ýãñáøå óôï ìÞíõìá
news:44374a2a$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> Dionisis,
>
> I'm using SetSel(nStart,nEnd)
>
> To set the cursorposition at the end of the text :
>
> oEdit:SetFocus()
> oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
>
> Regards
>
> Ingo
>
> "Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>>Hello
>> Is there any way to change the carret position in a EditBox. I try
>>:npos(xx) but nothing happens.
>>
>>TIA
>> Dionisis
>>
>>
>>
>
- Dionisis Divaris
- Mensajes: 485
- Registrado: Jue Jul 12, 2007 8:48 pm
- Ubicación: Athens Greece
Change carret (cursor) possition on Tedit Class
Hello Igno
Thank you very mauch for your sugestion. What i looking for is to capitalize
the first letter on Edit with the coresponding greek leter.As xHarbour
dosen't support Upper() or Lower() function for greeks characters i make
one function of my own. But the problem is when changed the first character
(it is maden ok) the carret dosent advanced to the next character position
(i.e 2) to following up with next characters insertion
Many thanks again
TIA
Dionisis
Ï "Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> Ýãñáøå óôï ìÞíõìá
news:44374a2a$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> Dionisis,
>
> I'm using SetSel(nStart,nEnd)
>
> To set the cursorposition at the end of the text :
>
> oEdit:SetFocus()
> oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
>
> Regards
>
> Ingo
>
> "Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>>Hello
>> Is there any way to change the carret position in a EditBox. I try
>>:npos(xx) but nothing happens.
>>
>>TIA
>> Dionisis
>>
>>
>>
>
Thank you very mauch for your sugestion. What i looking for is to capitalize
the first letter on Edit with the coresponding greek leter.As xHarbour
dosen't support Upper() or Lower() function for greeks characters i make
one function of my own. But the problem is when changed the first character
(it is maden ok) the carret dosent advanced to the next character position
(i.e 2) to following up with next characters insertion
Many thanks again
TIA
Dionisis
Ï "Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> Ýãñáøå óôï ìÞíõìá
news:44374a2a$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> Dionisis,
>
> I'm using SetSel(nStart,nEnd)
>
> To set the cursorposition at the end of the text :
>
> oEdit:SetFocus()
> oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
>
> Regards
>
> Ingo
>
> "Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>>Hello
>> Is there any way to change the carret position in a EditBox. I try
>>:npos(xx) but nothing happens.
>>
>>TIA
>> Dionisis
>>
>>
>>
>
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
Change carret (cursor) possition on Tedit Class
Dionisis,
doesn't :SetSel(nPos+1,nPos+1) work when nPos is the position of the changed
letter?
Regards
Ingo
"Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>Hello Igno
>
>Thank you very mauch for your sugestion. What i looking for is to capitalize
>the first letter on Edit with the coresponding greek leter.As xHarbour
>dosen't support Upper() or Lower() function for greeks characters i make
>one function of my own. But the problem is when changed the first character
>(it is maden ok) the carret dosent advanced to the next character position
>(i.e 2) to following up with next characters insertion
>
>Many thanks again
>TIA
>Dionisis
>
>Ï "Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> Ýãñáøå óôï ìÞíõìá
>news:44374a2a$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>
>> Dionisis,
>>
>> I'm using SetSel(nStart,nEnd)
>>
>> To set the cursorposition at the end of the text :
>>
>> oEdit:SetFocus()
>> oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
>>
>> Regards
>>
>> Ingo
>>
>> "Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>>>Hello
>>> Is there any way to change the carret position in a EditBox. I try
>>>:npos(xx) but nothing happens.
>>>
>>>TIA
>>> Dionisis
>>>
>>>
>>>
>>
>
>
doesn't :SetSel(nPos+1,nPos+1) work when nPos is the position of the changed
letter?
Regards
Ingo
"Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>Hello Igno
>
>Thank you very mauch for your sugestion. What i looking for is to capitalize
>the first letter on Edit with the coresponding greek leter.As xHarbour
>dosen't support Upper() or Lower() function for greeks characters i make
>one function of my own. But the problem is when changed the first character
>(it is maden ok) the carret dosent advanced to the next character position
>(i.e 2) to following up with next characters insertion
>
>Many thanks again
>TIA
>Dionisis
>
>Ï "Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> Ýãñáøå óôï ìÞíõìá
>news:44374a2a$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>
>> Dionisis,
>>
>> I'm using SetSel(nStart,nEnd)
>>
>> To set the cursorposition at the end of the text :
>>
>> oEdit:SetFocus()
>> oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
>>
>> Regards
>>
>> Ingo
>>
>> "Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>>>Hello
>>> Is there any way to change the carret position in a EditBox. I try
>>>:npos(xx) but nothing happens.
>>>
>>>TIA
>>> Dionisis
>>>
>>>
>>>
>>
>
>
-
- Mensajes: 339
- Registrado: Lun Jul 02, 2007 7:17 pm
Change carret (cursor) possition on Tedit Class
Dionisis,
doesn't :SetSel(nPos+1,nPos+1) work when nPos is the position of the changed
letter?
Regards
Ingo
"Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>Hello Igno
>
>Thank you very mauch for your sugestion. What i looking for is to capitalize
>the first letter on Edit with the coresponding greek leter.As xHarbour
>dosen't support Upper() or Lower() function for greeks characters i make
>one function of my own. But the problem is when changed the first character
>(it is maden ok) the carret dosent advanced to the next character position
>(i.e 2) to following up with next characters insertion
>
>Many thanks again
>TIA
>Dionisis
>
>Ï "Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> Ýãñáøå óôï ìÞíõìá
>news:44374a2a$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>
>> Dionisis,
>>
>> I'm using SetSel(nStart,nEnd)
>>
>> To set the cursorposition at the end of the text :
>>
>> oEdit:SetFocus()
>> oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
>>
>> Regards
>>
>> Ingo
>>
>> "Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>>>Hello
>>> Is there any way to change the carret position in a EditBox. I try
>>>:npos(xx) but nothing happens.
>>>
>>>TIA
>>> Dionisis
>>>
>>>
>>>
>>
>
>
doesn't :SetSel(nPos+1,nPos+1) work when nPos is the position of the changed
letter?
Regards
Ingo
"Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>Hello Igno
>
>Thank you very mauch for your sugestion. What i looking for is to capitalize
>the first letter on Edit with the coresponding greek leter.As xHarbour
>dosen't support Upper() or Lower() function for greeks characters i make
>one function of my own. But the problem is when changed the first character
>(it is maden ok) the carret dosent advanced to the next character position
>(i.e 2) to following up with next characters insertion
>
>Many thanks again
>TIA
>Dionisis
>
>Ï "Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> Ýãñáøå óôï ìÞíõìá
>news:44374a2a$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>
>> Dionisis,
>>
>> I'm using SetSel(nStart,nEnd)
>>
>> To set the cursorposition at the end of the text :
>>
>> oEdit:SetFocus()
>> oEdit:SetSel(LEN(oEdit:cText),LEN(oEdit:cText))
>>
>> Regards
>>
>> Ingo
>>
>> "Dionisis Divaris" <sv1fkk@hol.gr> wrote:
>>>Hello
>>> Is there any way to change the carret position in a EditBox. I try
>>>:npos(xx) but nothing happens.
>>>
>>>TIA
>>> Dionisis
>>>
>>>
>>>
>>
>
>