×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    19

    Question Custom control in form

    Hi everybody!
    I have one problem. I would like to add custom control to the form. But each line of form (CAknForm) wraps defined controls properly - lines with sliders have one sizes, lines with popup fields have another sizes. But line with my custom control is always with the same size. And my control is visible only partially. How can I change the line size?
    I tried to extend base controls available to forms, but it didn't help. Also, method MinimumSize() in custom control didn't help me.
    Hope on your help. Thanks.

  2. #2
    Nokia Developer Expert
    Join Date
    Sep 2011
    Posts
    382

    Re: Custom control in form

    Hi,

    Forms are special types of dialogs. The item layout and functionality can differ between the two states. In the view state, the fields are not editable. It looks and acts like a listbox. In other world as in Dialog the control itself responsible to take care of its (minimal) size.

Similar Threads

  1. Custom control doesn't display in a custom dialog
    By curiouswalker in forum Symbian User Interface
    Replies: 9
    Last Post: 2010-07-14, 06:20
  2. How to use custom CBA with form dialog
    By juannoguera in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-02-11, 23:18
  3. Form and custom component
    By MTi in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-05-23, 09:42
  4. Custom control inside FORM
    By donDonald in forum Symbian User Interface
    Replies: 1
    Last Post: 2007-01-22, 03:05
  5. Custom control in Series 60 form
    By jandrhub in forum Symbian User Interface
    Replies: 3
    Last Post: 2004-03-09, 12:12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×