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...
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.
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...
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 =...
Normally my statement on IIF() worked.
But I am unable to convert this:
IF mYY = '2012'
mPDF = '_1306.pdf'
ENDIF
into this:
IIF(mYY='2012',mPDF='_1306.pdf',mPDF=' ')
Is it true that I cannot store value into variables when I used IIF()?
Or is it my coding is wrong...
I would be grateful if you could help me to convert String to variables.
For example:
ABCD = 1234
XX = 'AB'
YY = 'CD'
XXYY = XX+YY
? XXYY
Is there a way to obtain the result as 1234 and not as 'ABCD'.
Any helps or hints will be valued.
I have just learnt how to use the VFP9 (SP1) Report Writer.
Now I wonder is it possible to have conditional foreground (pen) color in the Detail Band.
I have searched the FQA, help file and the KEYWORD "Detail Band", but could not find an answer.
I tried "IIF(dbr.tb <= 0, forecolor =...
I am an amateur programmer and have learned a lot from this forum. I know I should use the report writer but I am used to hard coding the receipts. Please teach me how to print certain text in color (beside black) using the “?” command. I did searched this forum and FAQ but couldn’t find the...
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.