Hi Mke,
Still a Fifer. No work programming nowadays, just for my own entertainment and to keep the brain from seizing up!
Bill Spence,
Dunfermline, Scotland
thread184-216111
19 years on and that did just what I wanted - after I fixed the 'deliberate' typo.
lnResult = ShellExecute(lnWhnd, 'OPEN', lcLink, '', '', 5)
Note double quotes.
Bill Spence,
Dunfermline, Scotland
I provide html code which is 'plugged into a web site over which I have no control.
It shows the results of my code in a "window" or "box" which is centered on the screen and too narrow for my needs.
You can see my problem here
(Styling :width=130% is giving me a wider right margin - click to...
Feherke,
Once again thank you - should have spotted that myself.
I have not got a formatting or syntax checking tool for html - I just use Notepad as my editor - do you know of a (free) tool which would have found any unclosed tags?
You were quite correct in your expectation - I had intended...
May I ask a second (maybe related) question?
I now want to nest an accordion but this happens
Accordion A
Button A1 text only - OK
Button A2 text only - OK
Button A3 Opens Accordion B (A4 not visible!!!)
Button B1 text only - OK
Button B2 text only - OK
Button A4 text only - closes Button...
I'm not sure of the protocol so I've copied this as a new topic as well
May I ask a second (maybe related) question?
I now want to nest an accordion but this happens
Accordion A
Button A1 text only - OK
Button A2 text only - OK
Button A3 Opens Accotdion B
Button B1 text only - OK
Button B2...
I have been using an accordion for some time very successfully.
But the panels contained nothing but text and now I have to allow for active elements (anchors ) in the panels.
Problem is that when a panel closes it's anchors stay active so you can't see them but you can click on them (and also...
Good question Olaf! I use the combo repeatedly during each invocation of the form with a different number of rows in the array on each occasion. (The user selects a table and the combo shows the tags for that table, then another table etc etc)
I have to start somewhere and 25 seemed a good...
I have a combo, array based, displaycount initialised to 25.
At run time, the array is filled with a varying number of rows and I change display count to the length of the array.
The box opens with the correct number of entries but the user can still scroll down to 25 list rows.
How can I...
Mike
thanks but no - had already tried that!
But this worked:
iy="SET PRINTER TO NAME +'"+ix[1,1]+"'"
? iy
and then
? set("PRINTER"),3) && returns the new name.
Perhaps a blank response from set("PRINTER",3) means the default.
For the record:
? set("PRINTER",3) &&returns blank...
Mike,
I spoke too soon.
I tried this:-
=aprinters(ax,1)
ix=ax[1,1]
set printer to name &ix
but get an error "Error accessing print spooler"
I tried ix="\"+ax[1,1] but no joy
Bill Spence,
Dunfermline, Scotland
Mike,
As ever your explanation makes admirable sense.
I'm working on my lap top with no network printer attached so when I looked at aprinters() I didn't see a server name. I know the required printer name so I can find the entry in aprinters(). I'll assume from what you say that the server...
I want to make a copy of a report, changing the printer. (I need to use a printer with A3 and Courier New,8 to print to a text file with sufficient width).
No matter what I do it stays locked to the default printer.
Any suggestions please
I could change the printer when creating my report...
Another tip - make sure the fields along each line are exactly in Line (all same Top value).
Another nuisance - the line width is limited by the printer - if you use the Generic Text printer, you can have longer lines but no Font and the default 17cpi doesn't work as well as Courier.
Thanks to...
Thanks for these replies.
Turns out that Equisys who do Zetafax will no longer talk about VFP. I quote:
"VPF is not a common language and I'm afraid we wouldn't be able to help."
So I'm going that way - sadly...
Bill Spence,
Dunfermline, Scotland
Hi,
Can anyone help me with using zetafaz as an object?
the zetafax site no longer offers any info on VFP. I created some code a long time ago, I think by translating from VB.
My attempt is like this:
oZfAPI = CREATEOBJECT("ZfLib.ZfAPI")
oUserSession = oZfAPI.Logon(myLoginName, .f.)...
Thanks, Mike.
9 never seems to enable the numbers.
I just tried editing with VFP 6, enabled the line/column OK
Then back to 9 - can enable them!
Oh well, as a scot I know these things are just sent to try us.
Bill Spence,
Dunfermline, Scotland
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.