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.
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...
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.
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.
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?
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.
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...
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...
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...
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...
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...
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...
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...
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 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.