Suggestion

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #36397
    Pierrotsc
    Participant

    Any chances to have a center alignment in the db component such as the tsDBlookupcombobox?

    Thanks

    Peter

    #52972
    Support
    Keymaster

    Hello Peter

    This feature may be implemented later, I think

    #52974
    Pierrotsc
    Participant
    'Support' wrote:

    Hello Peter

    This feature may be implemented later, I think

    thank you..

    #52999
    Support
    Keymaster

    Hello!

    Try this changed unit, please.

    #53044
    Pierrotsc
    Participant
    'Support' wrote:

    Hello!

    Try this changed unit, please.

    thanks, i will try it today and will post the result…i assume, i do not have to recompile the dpk, i just need to replace the unit. is that correct?

    #53045
    Support
    Keymaster

    Yes, just replace the file and rebuild your application.

    #53048
    Pierrotsc
    Participant
    'Support' wrote:

    Yes, just replace the file and rebuild your application.

    I replaced it, rebuild the db dpk and rebuild my application. I do not see any new property that would let me center the text in the dblookupcombobox.

    Thanks.

    Peter

    #53049
    Support
    Keymaster

    You should use lookup Field.Alignment, like in standard component. Please, try to set it in the field.

    #53050
    Pierrotsc
    Participant
    'Support' wrote:

    You should use lookup Field.Alignment, like in standard component. Please, try to set it in the field.

    Maybe i am a numb nut but the only thing i see is align. And that has the option to alclient, alnone, alleft…

    Am i supposed to do that with code or in the component property?

    for example, in the dbdataedit, i do have an alignment property but it does not show up in the dblookupcombobox.

    Thanks.

    Peter

    #53051
    Support
    Keymaster

    Sorry, I meant a Lookup Field from DataSet, you can set alignment of text there (in the dataset fields property editor).

    #53052
    Pierrotsc
    Participant
    'Support' wrote:

    Sorry, I meant a Lookup Field from DataSet, you can set alignment of text there (in the dataset fields property editor).

    I opened both listsource dataset and datasource dataset and i do not see any alignment field. Sorry.

    Maybe you have a screenshot? I use nexusdb as my database.

    Peter

    #53053
    Support
    Keymaster

    After DblClick on DataSet in design-time you will see a collection window where may be placed and configured all data fields from this dataset.

    There you can set Alignment property for each field of the table.

    #53054
    Pierrotsc
    Participant
    'Support' wrote:

    After DblClick on DataSet in design-time you will see a collection window where may be placed and configured all data fields from this dataset.

    There you can set Alignment property for each field of the table.

    i figured it out but now i am getting database error when the program starts. let me work on it..

    #53059
    Pierrotsc
    Participant

    I figured it out and it works 🙂 I could not believe it.

    Is it the way i have to do from now on, or would an alignment property be added to the lookupcombobox later on?

    Thanks

    Peter

    #53138
    Support
    Keymaster

    Hello!

    Additional property will not be added, standard way will be used.

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.