Only 8 charcters transferred

Only 8 charcters transferred

Postby Ehab Samir Aziz » Sun Feb 18, 2007 9:00 pm

Only 8 charcters transferred from v_mc_meres_combo to oGet_meres

Code: Select all  Expand view  RUN
Local oGet_meres:=space(25)
..
LOCAL oCbx_meres
..
local v_mc_meres_combo:=space(25)
..

  @ 60,200 SAY "Operator" OF oDlg PIXEL
  @ 60,250 SAY ":" OF oDlg PIXEL
  @ 60,260 GET oGet_meres VAR V_MC_meres OF oDlg PIXEL
  @ 60,380 COMBOBOX oCbx_meres VAR v_mc_meres_combo ITEMS aBase1(3,"mach",256,"mc_meres");
  SIZE 110,80 ;
  OF oDlg PIXEL ;
ON CHANGE ( oGet_meres:VarPut( PADR( v_mc_meres_combo, 8 ) ),;
oGet_meres:Refresh(),oDlg:Refresh())



Image
[/img]
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby Rochinha » Mon Feb 19, 2007 12:35 am

Friend

Replace this code:
Code: Select all  Expand view  RUN
ON CHANGE ( oGet_meres:VarPut( PADR( v_mc_meres_combo, 8 ) ),;


With this
Code: Select all  Expand view  RUN
ON CHANGE ( oGet_meres:VarPut( v_mc_meres_combo ),;
Rochinha
 
Posts: 310
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo

Postby Ehab Samir Aziz » Mon Feb 19, 2007 9:24 pm

Thanks :D
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 69 guests