Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

AlexK17's Achievements

µGFX Guru

µGFX Guru (4/4)

  1. Hi. Code for all container generate by ugfx studio 0.24.1. // Page container wi.g.show = FALSE; wi.g.x = 0; wi.g.y = 0; wi.g.width = 240; wi.g.height = 320; wi.g.parent = 0; wi.text = "Container"; wi.customDraw = background_OtherTestPageBg; wi.customParam = 0; wi.customStyle = &TextWhiteWS; ghPageContainerTermTestPage = gwinContainerCreate(0, &wi, GWIN_CONTAINER_BORDER); and 5 more similar containers as project pages. If i redefine GWIN_CONTAINER_BORDER to zero in giu.c Coordinate and size still is good.
  2. Hi. In file gwin_container.c i found this #define BORDER_WIDTH 2 and change his value to zero. Coordinate displacement and resizing is not happening, but I'm not sure if I won't have problems in the future. I got problems because I tried to combine the background image in the main container and the buttons to speed up the work. Best regards.
  3. Hi. Thanks for assist. Size parent container is 240x320. See attachment. Best regards.
  4. Hi I have the following problem. After creating an object, its coordinates and size can be changed by 1 or 2 points. Why? Part program from gui.c // ghPBChangeSpeed wi.g.show = TRUE; wi.g.x = 32; wi.g.y = 135; wi.g.width = 205; wi.g.height = 120; wi.g.parent = ghPageContainerTermTestPage; wi.text = ""; wi.customDraw = FRNone; wi.customParam = 0; wi.customStyle = 0; ghPBChangeSpeed = gwinButtonCreate(0, &wi); Data from debuger in attached file. Almost all objects undergo coordinate changes.
  5. Hi. Thanks for assist. Best regards.
  6. Hi. GSourceHandle enterHandle = ginputGetToggle(GINPUT_TOGGLE_ENTER); Why can this string cause a compiler error? Error[Pe059]: function call is not allowed in a constant expression but if use #define enterHandle ginputGetToggle(GINPUT_TOGGLE_ENTER) It does not cause an error and works fine. Compiler IAR 7.5 Best regards, Alexandr.
  7. Hi. How can I synchronize two lists? It is about being able to show the same line numbers in two different lists. Best regards.
  8. Hi. It would be nice. If the studio was creating a code template with events from the widgets. Best regards.
  9. Hi. I have the following situation. Two containers are on the same page. If necessary, one or the other can be seen. If I try to combine containers, then one becomes the parent of the other.How to avoid such a situation. The question is not on the topic. Prompt, please the correct way of creation a modal window by analogy with MessageDlg from windows api. Best regards. P.S. What function should menu item "Rise" do?
  10. P.S. In my project there is page where there i't a single widget, just a background of two pictures. Only on this page the label widget are displayed normally. If i placed any widget on empty page, tow time label are not displayed.
  11. Hi. I'm sorry, but it does not work. Labels are displayed only on the source page. What is my mistake, I do not understand. I'm sorry to trouble you. Best regards.
  12. Hi. I do not know what I can do wrong. I changed the parent to label and container to which the label belongs, but both labels are shown only on the start page. In debug window i see that the variable flagы is different when the label widget is displayed on the page. Maybe it will tell you something. flags = 0x00013F00 if widget visible on page. flags = 0x00013D00 if widget not visible on page (parent this widget changed manually). Best regards.
  13. HI. I placed tow label widget in container, and changed parent properties this container. // this code not displayed datetime bar gwinHide(ghPageContainerStartPage); // old parent page container for DateTimeBar ghDateTimeBar->parent = ghPageContainerSelectByTerminalPage; gwinShow(ghPageContainerSelectByTerminalPage); // new parent page container for DateTimeBar Container displayed only page, where was created. I using uGFX-studio for generate project. In the previous case, I tried to change the property of parents label widgets. Sometimes this label widget displayed on new page? sometimes not displayed. Best regards.
  14. Hi. But I say about application for stm32f746 with ugfx library, not a µGFX-Studio . Best regards.
  15. Hi. Tell me please the correct way, with which you can, for example, one label to show on several pages. Tried to replace the parent, but it does not work correctly. It is necessary for mine to display information such as date, time and so on. Best regards.
  • Create New...