Inputbox

HMG en Español

Moderator: Rathinagiri

Post Reply
User avatar
AidTIC
Posts: 117
Joined: Mon Apr 22, 2013 8:29 am
DBs Used: DBF
Contact:

Inputbox

Post by AidTIC »

hola , tengo un problema con el inputbox. displayo un literal que si es muy largo se me corta.

Image

Code: Select all

 pventa := InputBox ( "P.Venta : " , "Edito Precio Venta", , , , , 700 )
Attachments
Captura.PNG
Captura.PNG (6.58 KiB) Viewed 5250 times
Skydone Solutions
www.skydone.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Inputbox

Post by Pablo César »

Hola.

Realmente, esto no haberia porqué suceder. Voy a sugerir a Claudio si puede aprobar el siguiente cambio en la función InputBox:
Screen39.png
Screen39.png (63.62 KiB) Viewed 5229 times
Por encuanto, tu puedes alterar el arquivo C:\hmg.3.4.3\SOURCE\h_windows.prg (+/- la linea 5335) y substituir el valor 280 por:

If(nWidth=Nil, 320, nWidth-30)

Como muestra la figura.

Dr. Claudio, podrias hacernos la gentileza de incluir esta correccion en la funcion del InputBox si te parece adecuado ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Inputbox

Post by srvet_claudio »

Ok
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Inputbox

Post by Pablo César »

Thank you Claudio.

FYI and guidance. In case you approve centralizing method for InputWindow and InputBox,
we should add more those little implementations (described in this topic).
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply