About EDITBOX CONTROL

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

About EDITBOX CONTROL

Post by andyglezl »

Hola a todos


1.- Alguien sabrá si es posible cambiar de ubicación la barra de Scroll de la derecha a la izquierda ?
2.- Es posible desactivar el Scroll Vertical (NOVSCROLL) pero que siga funcionando la rueda del ratón ?
3.- Se puede agregar la propiedad TRANSPARENT a este control ?
-----------------------------------------------------------------------------------------------------------------------------
Hello everyone

1. Anyone know if you can change location Scroll bar from right to left?
2. You can disable the Vertical Scroll (NOVSCROLL) but the mouse wheel keep it running?
3. You can add the property TRANSPARENT this control?
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: About EDITBOX CONTROL

Post by srvet_claudio »

Andrés,
I think the answer is no to all 3 questions.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: About EDITBOX CONTROL

Post by andyglezl »

Gracias Dr. Claudio, buscaré otras opciones. :cry:
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
pctoledo
Posts: 123
Joined: Wed Aug 25, 2010 10:45 am
Location: Araçatuba - SP - Brazil
Contact:

Re: About EDITBOX CONTROL

Post by pctoledo »

andyglezl wrote:1.- Alguien sabrá si es posible cambiar de ubicación la barra de Scroll de la derecha a la izquierda ?

Code: Select all

#include "hmg.ch"

Function Main

   DEFINE WINDOW Form_1 ;
      AT 0,0 ;
      WIDTH 500 HEIGHT 300 ;
      TITLE 'EditBox Demo' ;
      MAIN

      @ 30,10 EDITBOX Edit_1 ;
         WIDTH 400 ;
         HEIGHT 200 ;
         VALUE 'EditBox: ScrollBar Left demo!!!' 

      HMG_ChangeWindowStyle ( GetControlHandle("Edit_1","Form_1"), WS_EX_LEFTSCROLLBAR, NIL, .T. )

   END WINDOW

   Form_1.Center()
   Form_1.Activate()
Return Nil
Regards/Saludos,

Toledo

Clipper On Line
KDJ
Posts: 243
Joined: Mon Sep 05, 2016 3:04 am
Location: Poland

Re: About EDITBOX CONTROL

Post by KDJ »

msdn wrote:WS_EX_LEFTSCROLLBAR
If the shell language is Hebrew, Arabic, or another language that supports reading order alignment, the vertical scroll bar (if present) is to the left of the client area. For other languages, the style is ignored.
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: About EDITBOX CONTROL

Post by andyglezl »

pctoledo wrote: HMG_ChangeWindowStyle ( GetControlHandle("Edit_1","Form_1"), WS_EX_LEFTSCROLLBAR, NIL, .T. )

Perfecto Toledo, muy agradecido por tu ayuda.
----------------------------------------------------------
Toledo perfect, very grateful for your help.
Andrés González López
Desde Guadalajara, Jalisco. México.
Post Reply