FoxInCloud
Some problems with HTML page
Gravatar is a globally recognized avatar based on your email address. Some problems with HTML page
  Michele
  All
  Mar 12, 2020 @ 04:14am

Hi, i have some problem with the generated html and i don't know how to correct them In the first image i have 3 buttons, that in foxpro form are in a container and have the same size but in the html page are different and i want the buttons to have the same height of the near textbox

In the second image i have some textbox that are not correctly aligned in the html page. Then i want to know how i can force the image in the buttons to be 1x instead of 2x but only in this form

Thanks

Gravatar is a globally recognized avatar based on your email address. re: Some problems with HTML page
  FoxInCloud Support - Thierry N.
  Michele
  Mar 12, 2020 @ 02:28pm

Ciao Michele,

I prefer help you with code rather than vague explanations, please post the HTML to work on.

Gravatar is a globally recognized avatar based on your email address. re: Some problems with HTML page
  Michele
  FoxInCloud Support - Thierry N.
  Mar 12, 2020 @ 03:10pm

First problem solved changing icons setup with foxincloud specific program. I solved the second problem moving one label at the bottom of the form....

But i want to ask you how to programmatically replace the class of the image of one button with jquery

Gravatar is a globally recognized avatar based on your email address. re: Some problems with HTML page
  FoxInCloud Support - Thierry N.
  Michele
  Mar 12, 2020 @ 07:39pm

how to programmatically replace the class of the image of one button with jquery

JQuery(“#buttonID span.fa”).removeClass(“fa-XX”).addClass(“fa-yy”);
Gravatar is a globally recognized avatar based on your email address. re: Some problems with HTML page
  Michele
  FoxInCloud Support - Thierry N.
  Mar 13, 2020 @ 03:29am

Perfect!. Thanks

And what about next example ? Here i show the foxpro form's designer, the same form in largest mode in browser and in another reduced... Normally the button should be near the first textbox and not attacched to the second.... Can i do this ? and how can i tell fix to leave the button near the first textbox and not the second one ?

Gravatar is a globally recognized avatar based on your email address. re: Some problems with HTML page
  Vincent H.
  Michele
  Mar 13, 2020 @ 04:54am

wBSgroup = .F. (.NULL. by default) works well

Gravatar is a globally recognized avatar based on your email address. re: Some problems with HTML page
  FoxInCloud Support - Thierry N.
  Michele
  Mar 13, 2020 @ 11:32am

Ciao Michele,

You can try these 2 solutions (both at design time or in .init()):

  1. As Vincent suggests, set dMpr.wBSgroup = .F.
  2. set mpr.wBScCtlPost = 'btnSearch' and btnSearch.wBScCtlAnte = 'mpr' (replace 'btnSearch' by your magnifier button's .Name)
© 1996-2020