copy and paste misleading

copy and paste misleading

Postby Ehab Samir Aziz » Mon Feb 26, 2007 9:59 pm

I noticed that copy from field and paste into msgget function does not lead to the supposed results . According to variable entered in the msgget function ,the browse should lead to certain results which I do not get it by copy/paste I should type with my keyboard the variable in msgget .
What should be added to my code to have valid copy/paste.

Code: Select all  Expand view

if MsgGet( "Serial Machine", "Enter Serial Machine", @V_me_mc_serl,;
              "..\lupa.bmp" )
      select 3
      use mach
      set index to mach5
      if ! DbSeek( (V_me_mc_serl ))
         MsgAlert( "I don't find that serial" )
      endif
   endif
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby James Bott » Mon Feb 26, 2007 10:35 pm

Ehab,

Remember you have to pad the var to the same length as the field.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Gale FORd » Mon Feb 26, 2007 10:43 pm

You also have to check for a possible uppercase issue.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 36 guests

cron