Jump to content

UnimDBGrid memo filed


epos4u

Recommended Posts

and sorry for asking,

at the moment, approximate length of your memo field?

Hi Delphi Developer   my guru

 

i am using uniGUI Complete - Professional Edition

 

the length of the memo fields are max about 8 lines

what they do is hold information of extra options of product

 

eg.

 

Pizza        

++ Peppers

++ Onions

++ Chilli

++ Free Drink

 

 

thanks

Link to comment
Share on other sites

 

Firstly, can you try this ?!:

procedure TMainmForm.UnimFormCreate(Sender: TObject);
begin
  UnimDBGrid1.Columns[yourMemoFieldIndx].DisplayMemo := true
end;

Wow WOW

 

My Brother Delphi Developer

 

You are Amazing, it works with <br>  

 

thank you so so so much :) :)

Link to comment
Share on other sites

My Brother Delphi Developer,

 

the code works great in UnimDBListGrid and not in UnimDBGrid1, i can use UnimDBListGrid for now

 

can i change the font and height of UnimDBListGrid1, i have tried the code posted for UnimDBGrid and that works for UnimDBGrid and not for UnimDBListGrid

 

the code was

css

.x-grid .x-grid-column {
    border-style: solid;
    border-width: 1px 1px 0;
    height: 25px;
    line-height: 25px;
    padding: 0 8px;
    vertical-align: middle;
    font-family: 'Times New Roman', Times, serif;
    font-size:  11pt;
    font-weight: bold;
}

.x-grid .x-grid-cell {
    height: 25px !important;
    line-height: 25px !important;
    font-family: 'Times New Roman', Times, serif;
    font-size:  12pt;
}

 

Thank you

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...