Jump to content


Photo

TUnimDBList Bound Field issue

TUnimDBList

  • Please log in to reply
3 replies to this topic

#1 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 155 posts
  • LocationMelbourne Australia

Posted 03 December 2017 - 01:00 AM

I cannot understand why TUnimDBList does not auto populate it's list from the bound datasource assigned table field ?

 

Looking at the FishFacts demo the DBList Items were manually entered as text at designtime ?

 

    DBList.DataSource:= UniMainModule.dsStreets;

    UniMainModule.tblStreets.First;
    DBList.ItemIndex:= 0;
 
Please advise.

  • 0

Andy


#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3625 posts

Posted 03 December 2017 - 01:52 AM

Hi,

 

 

I cannot understand why TUnimDBList does not auto populate it's list from the bound datasource assigned table field ?

 

Looking at the FishFacts demo the DBList Items were manually entered as text at designtime ?

 

UnimDBList -> Items property


  • 0

#3 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 155 posts
  • LocationMelbourne Australia

Posted 03 December 2017 - 05:01 AM

As I said, why do I have to manually add the strings when it is a DBList ?


  • 0

Andy


#4 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3625 posts

Posted 03 December 2017 - 06:48 AM

http://docwiki.embar...and_TDBComboBox
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users