Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: New problem with containers

$
0
0
Re: New problem with containers
FoxInCloud
Re: New problem with containers
Feb. 3, 2013
07:49 am
3PH0GR7OPShow this entire thread in new window
Gratar Image based on email address
From:Thierry Nivelet (FoxInCloud)
To:Michele
Michele,
Can you confirm
ThisForm.D1.wlContentDynamic = .T.
?

I ask you this because it looks like the appointment style is added to dynamic CSS instead of in-line style="" attribute, as of normal awHTML.prg behavior.

If possible, can you post the server xml response when you add this appointment container?
You can get it from the server form inside IDE, click the 'show status' button, then 'last HTML output'.


I have a form with some containers in it. With a button i add runtime some objects in one of thiese container, in the first.
The code to add this object is

ThisForm.D1.clearApps ThisForm.D1.AddObject("A1","_appointment")With ThisForm.D1.A1 .Height = 200 .Tag = "APP" .Top = 250 .Left = 1 ._Label1.Caption = "Demo COGEN" .Visible = .T.EndWith ThisForm.D1.wlContentChanged = .T. ThisForm.Refresh

Where clearApp is a method that clean all the objects already contained in D1 that is the container

When i open the form the first time it appears as in this image

after i click the button to add objects it changes, but the object is not added where i ask (the object has top=250 while in the form it seems at 0 and also the height is not correct. Iy has the properties i defined in the object class)

If i close the form (with the button we found in awcmdok) and the i open the form again i see the form without object in the container (even if in the debug it has still the object)

and when i add newly the object with my button (as i do the first time) the object is added in the correct position

What do i need to do to add the object without problems. This form must show user's appointment in week view....

Thanks



-- thn (FoxInCloud)


Viewing all articles
Browse latest Browse all 10393

Trending Articles