FoxInCloud
Switching app to boostrap version
Gravatar is a globally recognized avatar based on your email address. Switching app to boostrap version
  Michele
  All
  Oct 13, 2020 @ 12:09am

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

Gravatar is a globally recognized avatar based on your email address. re: Switching app to boostrap version
  FoxInCloud Support - Thierry N.
  Michele
  Oct 13, 2020 @ 02:42am

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

© 1996-2020