- This topic has 14 replies, 2 voices, and was last updated 9 years, 8 months ago by Support.
-
AuthorPosts
-
December 19, 2014 at 6:37 pm #36397PierrotscParticipant
Any chances to have a center alignment in the db component such as the tsDBlookupcombobox?
Thanks
Peter
January 5, 2015 at 3:16 pm #52972SupportKeymasterHello Peter
This feature may be implemented later, I think
January 5, 2015 at 3:38 pm #52974PierrotscParticipant'Support' wrote:Hello Peter
This feature may be implemented later, I think
thank you..
January 31, 2015 at 9:53 am #52999SupportKeymasterHello!
Try this changed unit, please.
January 31, 2015 at 12:07 pm #53044PierrotscParticipant'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?
January 31, 2015 at 12:22 pm #53045SupportKeymasterYes, just replace the file and rebuild your application.
January 31, 2015 at 2:29 pm #53048PierrotscParticipant'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
January 31, 2015 at 4:16 pm #53049SupportKeymasterYou should use lookup Field.Alignment, like in standard component. Please, try to set it in the field.
January 31, 2015 at 4:38 pm #53050PierrotscParticipant'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
January 31, 2015 at 4:46 pm #53051SupportKeymasterSorry, I meant a Lookup Field from DataSet, you can set alignment of text there (in the dataset fields property editor).
January 31, 2015 at 5:14 pm #53052PierrotscParticipant'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
January 31, 2015 at 5:20 pm #53053SupportKeymasterAfter 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.
January 31, 2015 at 11:51 pm #53054PierrotscParticipant'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..
February 1, 2015 at 9:04 pm #53059PierrotscParticipantI 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
March 1, 2015 at 9:15 am #53138SupportKeymasterHello!
Additional property will not be added, standard way will be used.
-
AuthorPosts
- You must be logged in to reply to this topic.