Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. greathope123

    When mouse draging, highlight the cell in the related row but in a particular column

    Hi, I realy don't know how to do this! Can you tell me if this is possible or not? In MSFlexGrid MouseMove(), how to focus (highlight) the cell in the related row but in a particular column? I hope this is easy for you and show me the code! Thanks a lot for your help.
  2. greathope123

    It looks very simple, but I just cannot find a solution!

    I have found the solution: I need to do ZOrder! Thank you.
  3. greathope123

    It looks very simple, but I just cannot find a solution!

    Hello, I need to put Line2 control over Line1 control but I found the color of Line2 control was changed, perhaps depending on the color of Line1 control! How can I remain the colour of Line2 control? I will be very appreciated with your help!
  4. greathope123

    How to declare a variable in VFP?

    Thanks a lot for your helps!!
  5. greathope123

    How to declare a variable in VFP?

    Thank you! It means the field name in the table has priority over the local variable! Can you also tell me how to assign a table to be current table and how to know which table is the current table?
  6. greathope123

    How to declare a variable in VFP?

    In Command3.Click local userName userName="abc" ?userName Why it did not print out "abc"? It printed something in database table1 because "username" is its field name? My question would be how to tell VFP a variable is the field name in database table or is a variable I declared in "local"?
  7. greathope123

    What len(thisform.text1.value) will return?

    Thank you again. Just want to say sorry: I clicked a red flag by mistake!!!
  8. greathope123

    What len(thisform.text1.value) will return?

    Thank you so much, I got a lot things I did not know.... I have just tried: for i=1 to len(thisform.text1.text) ?asc(substr(thisform.text1.text,i)) endfor and got a lot of "32" - the spaces at the end of the text in text1.
  9. greathope123

    What len(thisform.text1.value) will return?

    To OlafDoschke, Thank you. I hope "Width is the visual width in pixels and has nothing to do with the value length at all". However, in my test code the length of "12345" looks related with the width of the textbox: if the widths of both textboxes are the same, the lengths (and the values) of...
  10. greathope123

    What len(thisform.text1.value) will return?

    To jrbbldr, Thank you. After I type the string into text1, immediately, I click Command1. The code in Command1 is ?len(thisform.text1.text) My proplem came from code use table1 locate for username=thisform.text1.value if found() ...... Although I typed correct username into text1, the code...
  11. greathope123

    What len(thisform.text1.value) will return?

    To jrbbldr, Thank you for your suggestion. I have just tested: ?thisform.text1.width ?thisform.text2.width ?len(thisform.text1.text) ?len(thisform.text2.text) ?thisform.text1.text=thisform.text2.text and got the same result! Can we assume that .text1.text (and .text2.text) must be jointed...
  12. greathope123

    What len(thisform.text1.value) will return?

    To MikeLewis, Sorry, I didn't explain what I want to do in my above program! No, I didn't try to compare .text1.width with len(.text1.value)! I tried to compare len(.text1.value) with len(.text2.value) and to compare .text1.value with .text2.value Although I typed the same string "12345" into...
  13. greathope123

    What len(thisform.text1.value) will return?

    Thanks a lot for two responses above. I have just made a test code for Command1: ?thisform.text1.width ?thisform.text2.width ?len(thisform.text1.value) ?len(thisform.text2.value) ?thisform.text1.value=thisform.text2.value Run the program and typed 12345 into Text1 and Text2 very carefully...
  14. greathope123

    What len(thisform.text1.value) will return?

    Thank you. I did not input any space, why I need to trim away spaces? I also tried to make the box longer (without change the string), I got a bigger return value!
  15. greathope123

    What len(thisform.text1.value) will return?

    Hi, In VFP, I found ?len(thisform.text1.value) returned something related to the length of the text1 box, not the length of the string in the box. Anything I was missing??
  16. greathope123

    <!DOCTYPE html> and extra space under a .gif

    Sure, I hope I can clearly explain what I am trying to do: In several rows of a table, I have strings and imgs in <td>s. The img <td>s are for click and in the img <td>: 1. there is link and img but no string, 2. because the img is transparent gif, you can see different color of the <td> when...
  17. greathope123

    &lt;!DOCTYPE html&gt; and extra space under a .gif

    Hi, Following code is working fine but one thing I don't understand: in the cell, there is an extra space under a .gif. Is this by design? If I remove <!DOCTYPE html>, the space will disappear, but can I remain <!DOCTYPE html> and remove the space? <!DOCTYPE html> <html> <head> <style>...
  18. greathope123

    How to use Session.Abandon?

    Thanks a lot for your help!!
  19. greathope123

    How to use Session.Abandon?

    Session("abc") looks like a function: when we call the function, the function gets the session value and returns it? No??
  20. greathope123

    How to use Session.Abandon?

    Hi, Can you tell me why this not works: <% Session("abc")="abc" response.write "Session(""abc"") = " & Session("abc") & "<br>" Session.Abandon response.write "After Session.Abandon, Session(""abc"") = " & Session("abc") & "<br>" %> The output is: Session("abc") = abc After...

Part and Inventory Search

Back
Top