THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/01/2005 at 11:23, xxxxxxxx wrote:
hi samir,
its the attribute manager.
here is the part of showing and hiding:
> if (stmode == 3)
> {
> BaseContainer* bc = description->GetParameterI(DescLevel(CARRIER_DISTANCE), ar);
> if (bc)
> {
> bc->SetBool(DESC_HIDE, FALSE);
> }
> bc = description->GetParameterI(DescLevel(CARRIER_WIDTH), ar);
> if (bc)
> {
> bc->SetBool(DESC_HIDE, FALSE);
> }
> }
> if (stmode == 2)
> {
> BaseContainer* bc = description->GetParameterI(DescLevel(CARRIER_WIDTH), ar);
> bc = description->GetParameterI(DescLevel(CARRIER_WIDTH), ar);
> if (bc)
> {
> bc->SetBool(DESC_HIDE, FALSE);
> }
> }
> if (stmode == 1)
> {
> BaseContainer* bc = description->GetParameterI(DescLevel(BASE_THICKNESS), ar);
> bc = description->GetParameterI(DescLevel(BASE_THICKNESS), ar);
> if (bc)
> {
> bc->SetBool(DESC_HIDE, TRUE);
> }
> }
> if (stmode == 4)
> {
> BaseContainer* bc = description->GetParameterI(DescLevel(BASE_OUTSIDE_WIDTH), ar);
> bc = description->GetParameterI(DescLevel(BASE_OUTSIDE_WIDTH), ar);
> if (bc)
> {
> bc->SetBool(DESC_HIDE, FALSE);
> }
> bc = description->GetParameterI(DescLevel(BASE_OUTSIDE_HEIGHT), ar);
> if (bc)
> {
> bc->SetBool(DESC_HIDE, FALSE);
> }
> }
> if (mode == 1)
> {
> //Second Level Group einblenden
> BaseContainer* bc = description->GetParameterI(DescLevel(ID_SECOND_LEVEL_GROUP), ar);
> bc = description->GetParameterI(DescLevel(ID_SECOND_LEVEL_GROUP), ar);
> if (bc)
> {
> bc->SetBool(DESC_HIDE, FALSE);
> }
> }
> if (mode == 2)
> {
> BaseContainer* bc = description->GetParameterI(DescLevel(ID_MULTIPLE_FLOOR_GROUP), ar);
> bc = description->GetParameterI(DescLevel(ID_MULTIPLE_FLOOR_GROUP), ar);
> if (bc)
> {
> bc->SetBool(DESC_HIDE, FALSE);
> }
> }
> if (dir == 0)
> {
> BaseContainer* bc = description->GetParameterI(DescLevel(SL_SPACE_GAP), ar);
> bc = description->GetParameterI(DescLevel(SL_SPACE_GAP), ar);
> if (bc)
> {
> bc->SetBool(DESC_HIDE, TRUE);
> }
>
> }
> if (advgap)
> {
> BaseContainer* bc = description->GetParameterI(DescLevel(ID_MULTIPLE_FLOOR_ADV_GROUP), ar);
> bc = description->GetParameterI(DescLevel(ID_MULTIPLE_FLOOR_ADV_GROUP), ar);
> if (bc)
> {
> bc->SetBool(DESC_HIDE, FALSE);
> }
> }
> //---
> flags |= DESCFLAGS_DESC_LOADED;
> return ObjectData::GetDDescription(node, description, flags);
> }
as i can remember (i stopped developing 2003 and continue now) the dialog worked fine. now with 8.5 the dialog changes only, when i press a button or another item after i've choosen the type of elements i want to see from the dropdown....
i hope, this hels a little bit...
ralph