FoxInCloud
Problem tuUserChoice in LAN mode
Gravatar is a globally recognized avatar based on your email address. Problem tuUserChoice in LAN mode
  Arcadio Bianco
  All
  May 9, 2019 @ 06:17pm

In LAN mode, all tuUserChoice variables are getting a Boolean(.T.) value, in WEB mode, this is correct, returning the value entered in the wuValue.

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  May 9, 2019 @ 11:03pm

Hi Arcadio

do home(1) + "\tools\ab\aw\samples\fic\fictuto\tutoLAN.prg" with 'modal' works fine here, so I'll need more details and code excerpts.

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  Arcadio Bianco
  FoxInCloud Support - Thierry N.
  May 10, 2019 @ 05:13am

I will record a video in the 2 modes (lan and web) to show you the moment the problem happens using the debug.

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  May 10, 2019 @ 11:00pm

OK with related code

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  Gilles Lajot-Sarthou
  Arcadio Bianco
  May 13, 2019 @ 10:58pm

Hi Arcadio

For using wuValue with a modal form, you have nothing specially to do in the method form.release() . The last code must of your procedure be the call of form.release(). You must before using the form, set the form properties:

with m.thisform
.wcPropsave = "wuvalue" + iif(not empty(.wcPropsave), ',' + alltrim(.wcPropsave), '') && add wuValue into the list of properties save by FoxinCloud
.wcModalChoiceProp = "wuValue" && indicate to FoxIncloud what propertie to return after a release
.WindowType = 1 && modal form
endwith

In the methode release() of the form you must have at last line a return dodefault() or nothing (no code, the baseclass aw code will do allthings necessary) Regards

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  Arcadio Bianco
  Gilles Lajot-Sarthou
  May 14, 2019 @ 06:33am

Hello Gilles

I checked what you asked for and it was already correct, it really is very strange, in web mode it works correctly.

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  May 14, 2019 @ 08:19am

Hi Arcadio,

Your video is fine but I could not find the reason for the bug;
adding the call stack window would probably help understand what happens.

Thanks

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  May 14, 2019 @ 12:57pm

In cad_ina1.unLoad(), replace dodefault() by return dodefault() (just after set step on)

you check check all dodefault() in your app. using FAA step 1-analyze

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  Arcadio Bianco
  FoxInCloud Support - Thierry N.
  May 14, 2019 @ 01:21pm

Worked, thank you! I will review the whole code, there are some things that are part of my start with FIC, which I left behind due to lack of experience.

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  May 15, 2019 @ 12:32am

side note: in a form and form member code you can replace wlWeb() and wlLAN() by thisForm.wlWeb and thisForm.wlLAN

easier to debug!

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  Arcadio Bianco
  Arcadio Bianco
  May 15, 2019 @ 04:54am

OK! I'll change that! Thank you!

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  Arcadio Bianco
  FoxInCloud Support - Thierry N.
  May 21, 2019 @ 10:39pm

side note: in a form and form member code you can replace wlWeb() and wlLAN() by thisForm.wlWeb and thisForm.wlLAN

In form load thisform.wlweb always returns false, regardless of whether it is web or lan, now the wlweb () function returns o valor correctly in form load. That's right this?

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  FoxInCloud Support - Thierry N.
  Arcadio Bianco
  May 21, 2019 @ 10:47pm

Right, awfrm.load() sets thisForm.wlLanand thisForm.wlWeb, you can use them after executing dodefault()

Gravatar is a globally recognized avatar based on your email address. re: Problem tuUserChoice in LAN mode
  Arcadio Bianco
  FoxInCloud Support - Thierry N.
  May 22, 2019 @ 07:14am

Ok! Thank you!

© 1996-2019