tufanv Expert Licensed User Longtime User Apr 6, 2016 #1 Hello, 1)How can i change the textsize of items of an expandable tableview ? 2) How can i change the expandall and collapseall texts . I cant find any place to change the text. TY Last edited: Apr 6, 2016
Hello, 1)How can i change the textsize of items of an expandable tableview ? 2) How can i change the expandall and collapseall texts . I cant find any place to change the text. TY
Erel B4X founder Staff member Licensed User Longtime User Apr 7, 2016 #2 1. Add these lines to CreateInternalCells: Code: Copy Dim s As AttributedString s.Initialize(c.Text, Font.CreateNew(20), Colors.Black) tc.Text = s 2. Change the Text property, not the Tag. Upvote 0
1. Add these lines to CreateInternalCells: Code: Copy Dim s As AttributedString s.Initialize(c.Text, Font.CreateNew(20), Colors.Black) tc.Text = s 2. Change the Text property, not the Tag.
tufanv Expert Licensed User Longtime User Apr 7, 2016 #3 Erel said: 1. Add these lines to CreateInternalCells: Code: Copy Dim s As AttributedString s.Initialize(c.Text, Font.CreateNew(20), Colors.Black) tc.Text = s 2. Change the Text property, not the Tag. Click to expand... I dont have the etv in designer i added it using itableview2 library and the etv module in your tutorial. I cant find etv in designer with iui8 or itableview2 ? Upvote 0
Erel said: 1. Add these lines to CreateInternalCells: Code: Copy Dim s As AttributedString s.Initialize(c.Text, Font.CreateNew(20), Colors.Black) tc.Text = s 2. Change the Text property, not the Tag. Click to expand... I dont have the etv in designer i added it using itableview2 library and the etv module in your tutorial. I cant find etv in designer with iui8 or itableview2 ?
tufanv Expert Licensed User Longtime User Apr 7, 2016 #4 also for the etv_SelectedChanged(cell As CustomCell) event how can i determine if the item does not have a child so i can open the prodcut information panel. ? ( I mean , if it has a child it must not open the product page because it means it is not a product but a category , but if it does not have a child it means its the product so i can open the product page) Last edited: Apr 7, 2016 Upvote 0
also for the etv_SelectedChanged(cell As CustomCell) event how can i determine if the item does not have a child so i can open the prodcut information panel. ? ( I mean , if it has a child it must not open the product page because it means it is not a product but a category , but if it does not have a child it means its the product so i can open the product page)
Erel B4X founder Staff member Licensed User Longtime User Apr 7, 2016 #5 tufanv said: I dont have the etv in designer i added it using itableview2 library and the etv module in your tutorial. I cant find etv in designer with iui8 or itableview2 ? Click to expand... Are you asking about the two toolbar buttons? They belong to the main page properties. tufanv said: how can i determine if the item does not have a child so i can open the prodcut information panel. ? Click to expand... Check the size of cell.Children. Upvote 0
tufanv said: I dont have the etv in designer i added it using itableview2 library and the etv module in your tutorial. I cant find etv in designer with iui8 or itableview2 ? Click to expand... Are you asking about the two toolbar buttons? They belong to the main page properties. tufanv said: how can i determine if the item does not have a child so i can open the prodcut information panel. ? Click to expand... Check the size of cell.Children.