Is this a bug (popup selection in CAknForm)?
| Wed, 2005-03-02 08:10 | |
|
Hi guys,
I need some clarification here. I have a CAknForm derived class that uses the resource file to build the user interface. The problem I'm having now is that for a popup element, when I press the selection button, no popup appears at all. The strangest thing is that the softkeys do change! And using the selection button to make selections will actually reflect the change, although the popup cannot be seen! Is this a bug, or am I missing something? PS: I'm testing on a Nokia 6600. |
|






Forum posts: 5
I have the same problem with the form example from the SDK (7.0s) ...
On the emulator I can't see the popup but the softkeys do change and I can select an item using the selection button.
Did you resolve this ?
Forum posts: 31
I have done popup field too and it works same like you. I think popupfield does not popup in the form. Tell me if I'm wrong..
Regards
Ari
Forum posts: 34
I Tried running following example application after reading your query and its working fine.
\Symbian\8.0a\S60_2nd_FP2\Series60Ex\popupfield\group>
if you can give the code (if its not confidential) we can give some suggestion
Regards
Pavan
Shoot for the moon. Even if you miss, you'll land among the stars.
Pavan
Forum posts: 31
RESOURCE FORM r_form {
  flags = EAknDialogSelectionList | EEikFormShowEmptyFields;
  items =
  {
        DLG_LINE {
type = EAknCtPopupFieldText;
prompt = pss_show;
id = EAknPssFormPopuptextShowonmapId;
itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
control = POPUP_FIELD_TEXT {
popupfield = POPUP_FIELD
{
width = 3;
};
textarray = r_pss_tsettings_form_yesno_listbox;
active = 0;
};
    }
  };
}
RESOURCE ARRAY r_pss_tsettings_form_yesno_listbox {
  items=
  {
LBUF { txt = pss_common_off;},
LBUF { txt = pss_common_on; }
 };
}
Regards
Ari