FoxInCloud
Menu error
Gravatar is a globally recognized avatar based on your email address. Menu error
  Tuvia Vinitsky
  All
  Feb 18, 2012 @ 11:46pm
When creating menus, I get array dimensions are invalid. Line 2049 of awserver, code there is:

llActive = laMenu[m.liMenu, 5]
llActive = Empty(m.llActive) OR NOT Evaluate(m.llActive) && le menu est actif

The problem occurs whenever the skip for has the underscore, which happens like this:

File File Students oVM.giStudents = .t. _screen.ouser.gapass[35]=.f. nameset.scx .f. .t. nameset

The user object is attached to _screen and has info about security rights.

Gravatar is a globally recognized avatar based on your email address. Re: Menu error
  Tuvia Vinitsky
  Tuvia Vinitsky
  Feb 18, 2012 @ 11:59pm

Speaking of menus, are sub-menus supported?

When creating menus, I get array dimensions are invalid. Line 2049 of awserver, code there is:

llActive = laMenu[m.liMenu, 5]
llActive = Empty(m.llActive) OR NOT Evaluate(m.llActive) && le menu est actif

The problem occurs whenever the skip for has the underscore, which happens like this:

File File Students oVM.giStudents = .t. _screen.ouser.gapass[35]=.f. nameset.scx .f. .t. nameset

The user object is attached to _screen and has info about security rights.

Gravatar is a globally recognized avatar based on your email address. Re: Menu error
  FoxInCloud Support - Thierry N.
  Tuvia Vinitsky
  Feb 19, 2012 @ 05:36am
1- Did you implement xxxProcess::wUserSet()?

2- Are you sure gapass[35] always exists?
if not, could you write

alen(_screen.ouser.gapass)<35 OR NOT _screen.ouser.gapass[35] && you don't need '=.f.'

HTH

When creating menus, I get array dimensions are invalid. Line 2049 of awserver, code there is:
llActive = laMenu[m.liMenu, 5]
llActive = Empty(m.llActive) OR NOT Evaluate(m.llActive) && le menu est actif

The problem occurs whenever the skip for has the underscore, which happens like this:

File File Students oVM.giStudents = .t. _screen.ouser.gapass[35]=.f. nameset.scx .f. .t. nameset

The user object is attached to _screen and has info about security rights.


-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Menu error
  FoxInCloud Support - Thierry N.
  Tuvia Vinitsky
  Feb 19, 2012 @ 05:38am
Not yet

Scheduled with an OOP menu system revamping, e.g. sfMenu from VFPx

Speaking of menus, are sub-menus supported?



-- thn (FoxInCloud)

Gravatar is a globally recognized avatar based on your email address. Re: Menu error
  Tuvia Vinitsky
  Thierry Nivelet (FoxInCloud)
  Feb 19, 2012 @ 07:14am

It does exist, but since there also seems to be a limit on the menu length, I will probably put in a js menu system.

1- Did you implement xxxProcess::wUserSet()?

2- Are you sure gapass[35] always exists?
if not, could you write

alen(_screen.ouser.gapass)<35 OR NOT _screen.ouser.gapass[35] && you don't need '=.f.'

HTH

When creating menus, I get array dimensions are invalid. Line 2049 of awserver, code there is:
llActive = laMenu[m.liMenu, 5]
llActive = Empty(m.llActive) OR NOT Evaluate(m.llActive) && le menu est actif

The problem occurs whenever the skip for has the underscore, which happens like this:

File File Students oVM.giStudents = .t. _screen.ouser.gapass[35]=.f. nameset.scx .f. .t. nameset

The user object is attached to _screen and has info about security rights.

© 1996-2024