two questions.
1) I see there is a function that allows me to go from the description Confirmation to the tag CONF. I do not see a way to go from the tag to the description. There must be one, but I am not understanding it.
2) in IUP using iup.GetParam() is there a way to get the options to display vertically instead of horizontally?
* IUP and fh function
IUP and fh function
FH V.6.2.7 Win 10 64 bit
- ColeValleyGirl
- Megastar
- Posts: 4850
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: IUP and fh function
1. Have a look at fhGetFactTypeInfo.
2. I don't believe so, but I never use GetParam as it's so inflexible and a pain to use.
2. I don't believe so, but I never use GetParam as it's so inflexible and a pain to use.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
Re: IUP and fh function
1. I am on 6.7.2 and that does not appear in the help search. did you do any slicing and dicing of the *.fhf files in research planner that might help me?
2. what iup is the simplest to go from here to there?
function sltLNK()
local Opt = 0
local WS_RC
WSTitle = 'Display Link'
txtOpt[0] = 'cem'
txtOpt[1] = 'web'
txtOpt[2] = 'rlt'
WS_RC, Opt = iup.GetParam(
WSTitle,
nil,
('Use Link: %%o|%s|%s|%s|\n'):format(txtOpt[0], txtOpt[1], txtOpt[2]),
Opt)
if not Opt then Opt = 0 end
_slt['_lnk'] = {fn_key = WS_RC, ix = (Opt + 1) or 0, parm = (txtOpt[Opt]) or ''}
return _slt['_lnk']
end -- fn sltWEBLNK
thanks
2. what iup is the simplest to go from here to there?
function sltLNK()
local Opt = 0
local WS_RC
WSTitle = 'Display Link'
txtOpt[0] = 'cem'
txtOpt[1] = 'web'
txtOpt[2] = 'rlt'
WS_RC, Opt = iup.GetParam(
WSTitle,
nil,
('Use Link: %%o|%s|%s|%s|\n'):format(txtOpt[0], txtOpt[1], txtOpt[2]),
Opt)
if not Opt then Opt = 0 end
_slt['_lnk'] = {fn_key = WS_RC, ix = (Opt + 1) or 0, parm = (txtOpt[Opt]) or ''}
return _slt['_lnk']
end -- fn sltWEBLNK
thanks
FH V.6.2.7 Win 10 64 bit
- ColeValleyGirl
- Megastar
- Posts: 4850
- Joined: 28 Dec 2005 22:02
- Family Historian: V7
- Location: Cirencester, Gloucestershire
- Contact:
Re: IUP and fh function
Ron, sorry -- I'd forgotten you weren't on V7.
Have a look at the Multifact plugin, specifically the Facts class at line 1706.
Have you used IUP at all? You may wish to explore the Samples and Tutorial in the IUP documentation (remembering that the documentation is for 3.30 and you have 3.11 so may encounter stuff that isn't supported in the earlier version.
Have a look at the Multifact plugin, specifically the Facts class at line 1706.
Have you used IUP at all? You may wish to explore the Samples and Tutorial in the IUP documentation (remembering that the documentation is for 3.30 and you have 3.11 so may encounter stuff that isn't supported in the earlier version.
Helen Wright
ColeValleyGirl's family history
ColeValleyGirl's family history
Re: IUP and fh function
I have used iup sommat. it is still a miasma to me. I was looking for a suggestion on what the quickest simplest conversion function would be.
I am thinking that v7 is getting ironed out enough where it may be worth getting soon.
I will look at that source. I suppose I could build *another* permanent table....
I am thinking that v7 is getting ironed out enough where it may be worth getting soon.
I will look at that source. I suppose I could build *another* permanent table....
FH V.6.2.7 Win 10 64 bit