• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

calling custom dialog

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have one frame and it contains labels and text boxes to create a new user
one of my label field is to select a group.I want to provide a functionality where the user will click on button (say search next to the label) and a new dialog will
open and user can search on his criteria and then select the group. Once he selects the group and close the dialog, i want text box in the calling component(frame) to be filled up with the selected value.

can some one help me out and provide some example code
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it really sounds like you'd be better off using a comboBox
instead of a 'group search' dialog (to return a single line
of text for your label).

default behavior is to go to the letter typed e.g type J and
it will go to the first group name starting with J.

you can build in additional functionality to then go the the 2nd letter etc
reply
    Bookmark Topic Watch Topic
  • New Topic