FoxInCloud
Switching app to boostrap version
Can someone confirm me which parameters i have to change to switch my app fron normal version to bootstrap version ? I have some customers that, at the moment, want to stay still with not boostrap version but i don't want to mantain two different apps
Thanks
Ciao Michele,
The switch is xxxServer.BSlHTMLgen
.
You need to maintain 2 projects and 2 exes, one for classic, one for bootstap/responsive:
&& names are fictive
modify project classic.pjx
modify command classic.prg && classic.pjx main program
DEFINE CLASS classicServer AS xxxServer OF xxxServer.prg OLEPUBLIC
…
BSlHTMLgen = .F.
…
ENDDEFINE
modify project bootstrap.pjx
modify command bootstrap.prg && bootstrap.pjx main program
DEFINE CLASS bootstrapServer AS xxxServer OF xxxServer.prg OLEPUBLIC
…
BSlHTMLgen = .T.
…
ENDDEFINE
If you want Bootstrap as 'mainstream', you need to register the 'classic' COM servers on your client's machine…
cmd
cd "path to your exe"
classic.exe /regserver
…and change the COM server signature in wc.ini