| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3128 bảng dữ liệu(PDF) 42 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 bảng dữ liệu(HTML) 42 Page - STMicroelectronics |
|
42 / 105 page ![]() Multi-input embedded GUI library firmware AN3128 42/105 Doc ID 16918 Rev 5 Figure 14, 15, 16, show, in detail, the Combobox object properties and methods which the final application can use to interact with. 4.1.20 ResetComboOptionActive API global function Table 25 describes the ResetComboOptionActive function: Example: /* Declares and initiates a Page Object */ GL_Page_TypeDef page1; Create_PageObj( &page1 ); /* Declares and initiates a Label Object and add it with specified coordinates to a Page Object */ GL_PageControls_TypeDef* pageLabel = NewLabel("pageLabel", "Graphic Library", GL_HORIZONTAL, GL_FONT_BIG, GL_Blue); AddPageControlObj(((LCD_Width/11)*9),(LCD_Height/11),pageLabel,&page1); /* Declares and initiates a Combobox object */ GL_PageControls_TypeDef* ComboBoxGrp1 = NewComboBoxGrp("ComboBoxGrp1"); AddComboOption (ComboBoxGrp1->objPTR, "Option1", ComboboxFunc); AddComboOption (ComboBoxGrp1->objPTR, "Option2", ComboboxFunc); AddComboOption (ComboBoxGrp1->objPTR, "Option3", ComboboxFunc); AddPageControlObj(((LCD_Width/10)*7),(LCD_Height/2),ComboBoxGrp1, &page1 ); ... void ChangeFirstComboLabel(void) { if (page1.Page_Active == GL_TRUE) { page1.ShowPage(&page1, GL_FALSE); ResetComboOptionActive(&page1, "ComboBoxGrp1"); /* Modify the active combobox option label" */ SetComboOptionLabel(&page1, "ComboBoxGrp1", "Option1_New"); page1.ShowPage(&page1, GL_TRUE); } } Figure 14, 15, 16, show, in detail, the Combobox object properties and methods which the final application can use to interact with. Table 25. ResetComboOptionActive API function Name Description Function name ResetComboOptionActive Function prototype GL_ErrStatus ResetComboOptionActive(GL_Page_TypeDef* pPage, char* objName) Behavior description Reset the active combo option to the first one Input parameter {x} *pPage: pointer to page structure objName: name of the object Output parameter {x} None Return value GL_OK if successful, GL_ERROR otherwise Required preconditions None Called functions No API/HAL layer functions |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |