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 Mike Lewis 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. kamweng

    Auto select all text in a RTF Textbox without using Ctrl+A?

    Thank you for your reply. Yes, it worked but the text did not stay selected. It just flashed as selected and then become unselected. Happily this saved me another click to unselect the text because when the text was selected, I have reformated the text as required. Thank you again for your help.
  2. kamweng

    Auto select all text in a RTF Textbox without using Ctrl+A?

    In a normal textbox I could use the format property "K" to auto select all the text when it got focus but this property is not availabe in a RTF textbox. Maybe I missed knowing about another property that is similar to the format property. Anyway, is there a way to get all the text in a RTF...
  3. kamweng

    Keypress event in RTF Textbox

    Thank you for the replies. I was wondering why RTF Textbox used LPARAMETERS keyascii whereas the normal Textbox used LPARAMETERS nKeyCode, nShiftAltCtrl. Once again, thank you.
  4. kamweng

    Keypress event in RTF Textbox

    My keypress worked fine in a textbox but I could not make it work in a RTF textbox: *** ActiveX Control Event *** LPARAMETERS keyascii IF keyascii = -8 && F9 MESSAGEBOX(0,0,0) && For example ENDIF RETURN Is there anything else that I should be aware of? Thank you.
  5. kamweng

    Need to eject 'X' amount of lines before printing a report

    I've been following this thread closely because report is ONE of my weak points. I wonder rather having "Pre-Printing ejection", will it be OK to make use of the "Title Band" because it showed only once?
  6. kamweng

    Windowstate = 2 not fully working in report viewer

    Thanks to the above hint, instead of WINDOWSTATE = 2, I changed it to WINDOWSTATE = 0 HEIGHT = 900 && My form height WIDTH = 1440 && My form width Now my report viewer is as desired.
  7. kamweng

    Problem after closing report form

    Olaf, A star for you. I didn't know report data session should be private! Nasib, A star for you too because without this, my report form is not visible. All this while, my form variables are in the .activate()! Mike, you deserve a star too because you taught me to ask myself deeply whether...
  8. kamweng

    Problem after closing report form

    Sorry for not being clear. I’ve been pondering on Olaf’s reply Yes, he is right (I’ve rechecked them). My app is running fine except that I’m trying to shift my hard-coded receipt printout to the report writer. My problem is that after issuing the above REPORT FORM code, I’m unable to...
  9. kamweng

    Problem after closing report form

    OREPFORM = CREATEOBJECT("Form") WITH OREPFORM .WINDOWSTATE = 2 .SHOW() ENDWITH REPORT FORM XXX PREVIEW WINDOW (OREPFORM.NAME) OREPFORM.RELEASE() After issuing the above code, I noticed all my existing variables reverted to the default values (as shown in the debug). Is it true the...
  10. kamweng

    Can I create “bookmarks” in my report?

    Thanks for the suggestions.
  11. kamweng

    Can I create “bookmarks” in my report?

    I can confirm that JRB-Bldr’s solution in naming a report output to a pdf file work great. Thank-you JRB-Bldr. And thanks to this forum, I have learned how to use the report writer. But my accounting report contained almost a thousand pages, making it difficult to navigate. Is there a way to...
  12. kamweng

    Windowstate = 2 not fully working in report viewer

    Thanks Olaf, Thanks danfreeman
  13. kamweng

    Windowstate = 2 not fully working in report viewer

    Sorry, the code is as follow OREPFORM = CREATEOBJECT("Form") WITH OREPFORM .WINDOWSTATE = 2 .SHOW() ENDWITH REPORT FORM J:\JMB\r_DBT_LOT NOCONSOLE PREVIEW WINDOW (OREPFORM.NAME) OREPFORM.RELEASE() Thank you.
  14. kamweng

    Windowstate = 2 not fully working in report viewer

    I'm sure this is an old topic but my search in this forum is not fruitful. I noticed the report viewer title bar showed the "Maximize" button and when I clicked it, the report will then maximized. KEYBOARD "{CTRL+F10}" have no effect on the report viewer. If I changed the windowstate to 1...
  15. kamweng

    KeyDown and Keyup versus Keypress

    Maybe this freeware "Auto Key Presser" (www.arifur.net) could help?
  16. kamweng

    Using wildcard(*) in "With Thisform/Endwith"?

    Duly noted. I like the above quote because it describe what I am trying to do!
  17. kamweng

    Using wildcard(*) in "With Thisform/Endwith"?

    Thanks Olaf, My project is to build an app to replace the erroneous manual receipting for an high-rise apartment. I faced headwind because - 1) The users are almost computer illiterate. 2) Here, Solitaire is the killer app. 3) Words and Excel come next. 4) They have bought an accounting package...
  18. kamweng

    Using wildcard(*) in "With Thisform/Endwith"?

    Many thanks to both of you. I now realized my Excel style of naming the controls is not correct. Indeed my UI look like Excel, thisform.*99 being the names for the Total Value for each columns. In fact, I switched from Excel to VFP but maintained the look of Excel. I have classed it so that I...
  19. kamweng

    Using wildcard(*) in "With Thisform/Endwith"?

    Thank you for your fast replies. I will need time to digest your suggestions. Thank you once again.
  20. kamweng

    Using wildcard(*) in "With Thisform/Endwith"?

    The more I used VFP9 in my work, the more I realized I could shorten my coding by using certain command. Now I wonder whether is it possible to use wildcard(*) in "With Thisform/Endwith". Take for example these codes - WITH THISFORM .SETALL("TOP",nTOP,"E1") .W99.TOP = nTOP + 30 .M99.TOP =...

Part and Inventory Search

Back
Top