PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Question
Question
Débuté par Castrenze Marchese, 22 jan. 2008 07:41 - 5 réponses
Posté le 22 janvier 2008 - 07:41
I am planning to rewrite an my application written in vb5 with windev11
wanted to ask for information:
A) At runtime I can clone a window?
B) In a Component is possible declare the constants that can be called
from the program that uses it?
thanks
Castrenze
Posté le 23 janvier 2008 - 10:20
>I am planning to rewrite an my application written in vb5 with windev11

wanted to ask for information:


>A) At runtime I can clone a window?

B) In a Component is possible declare the constants that can be called


>from the program that uses it?

thanks


>Castrenze

A) If you mean : for use as an MDI child, yes. Windev calls this an alias.

b) i'm not shure.
Posté le 23 janvier 2008 - 23:48
leo ha scritto:
I am planning to rewrite an my application written in vb5 with windev11

wanted to ask for information:

A) At runtime I can clone a window?

B) In a Component is possible declare the constants that can be called

from the program that uses it?

thanks

Castrenze

A) If you mean : for use as an MDI child, yes. Windev calls this an alias.

b) i'm not shure.


Thanks for reply.
a) then window is a internal window for use with its control
Posté le 24 janvier 2008 - 11:43
>leo ha scritto:

I am planning to rewrite an my application written in vb5 with windev11


>>

wanted to ask for information:


>>

A) At runtime I can clone a window?


>>

B) In a Component is possible declare the constants that can be called


>>

from the program that uses it?


>>

thanks


>>

Castrenze


>>

A) If you mean : for use as an MDI child, yes. Windev calls this an alias.


>>

b) i'm not shure.


>>



>Thanks for reply.

a) then window is a internal window for use with its control


No => an MDI window is not an internal window, you cannot use it as such. An MDI child window can only be opened from an MDI parent, as often as you want, and therefore it is necesary to use aliases to adress the right one.

But as you mention : an internal window also can be used as many times as you need as it can be assigned to any internal window control.

Leo
Posté le 24 janvier 2008 - 11:59
Hi All...

Just a precision... You can ALSO open regular (ie NON MDI) windows with the aliases mechanism and openchild as many time as you want...

Best regards

Fabrice

>>leo ha scritto:

I am planning to rewrite an my application written in vb5 with windev11


>>>

wanted to ask for information:


>>>

A) At runtime I can clone a window?


>>>

B) In a Component is possible declare the constants that can be called


>>>

from the program that uses it?


>>>

thanks


>>>

Castrenze


>>>

A) If you mean : for use as an MDI child, yes. Windev calls this an alias.


>>>

b) i'm not shure.


>>>



>>Thanks for reply.

a) then window is a internal window for use with its control


>No => an MDI window is not an internal window, you cannot use it as such. An MDI child window can only be opened from an MDI parent, as often as you want, and therefore it is necesary to use aliases to adress the right one.

But as you mention : an internal window also can be used as many times as you need as it can be assigned to any internal window control.


>Leo
Posté le 27 janvier 2008 - 20:36
Castrenze Marchese ha scritto:
leo ha scritto:
I am planning to rewrite an my application written in vb5 with windev11
wanted to ask for information:
A) At runtime I can clone a window?
B) In a Component is possible declare the constants that can be called
from the program that uses it?

thanks
Castrenze
A) If you mean : for use as an MDI child, yes. Windev calls this an alias.


b) i'm not shure.


Thanks for reply.

a) then window is a internal window for use with its control


Thanks to all
Castrenze