1. Paweł Kasperek
  2. PowerBuilder
  3. Thursday, 31 August 2023 13:32 PM UTC

Hi,

In the newest version of PowerBuilder 2022 R2 is added new functionality - autofiltering / autocomplete ( https://docs.appeon.com/pb/whats_new/Autocomplete_for_DDDW_DDLB.html?_gl=1*1k09ecc*_ga*NjM5MTU4MDguMTY5MzQ4ODU3Mg..*_ga_T68E593GTG*MTY5MzQ4ODU3MS4xLjEuMTY5MzQ4ODU3NS41Ni4wLjA.)

Maybe, there exist any sample application for using this feature?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Who is viewing this page
Accepted Answer
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 31 August 2023 15:02 PM UTC
  2. PowerBuilder
  3. # Permalink

You just set the AutoCompleteMode property.  It's not complicated feature that would really benefit a lot from a sample app.  Have you read the documentation?  

https://docs.appeon.com/pb2022r2/datawindow_reference/XREF_16948_ddlb_property.html

https://docs.appeon.com/pb2022r2/datawindow_reference/XREF_54577_dddw_property.html

 

Comment
  1. René Ullrich
  2. Thursday, 7 September 2023 09:14 AM UTC
You can edit itemchanged and/or itemerror event to disable or replace this message. Look in the help for the different return codes for this events,
  1. Helpful 2
  1. Paweł Kasperek
  2. Friday, 15 September 2023 10:40 AM UTC
Thank everybody for helping. I resolved this question and I enabled autocomplete on DropBoxDW in my application.
  1. Helpful
  1. Tracy Lamb
  2. Tuesday, 21 November 2023 16:58 PM UTC
Pawel, How did you resolve this issue? I have the same problem... the user must select from the dropdown list, but the AutoCompleteMode option is awesome! I'm guessing you put a trap in the itemchanged event that makes sure a valid row (not 0) was selected?

~~~Tracy
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.