Jump to content

clement

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by clement

  1. Hi, My program has a uniPageControl, then I create one newForm in TUniTabSheet, How can I use the "FindComponent" to access the newForm? Thank You.
  2. Hi, I create one panel at runtime, and add the below extEvent to the panel. However, the page shows blank (no error). vOrderPanel.ClientEvents.ExtEvents.Values['afterrender']:=' function afterrender (sender, eOpts)' + '{Sender.setBodyStyle(' + QuotedStr ('border-radius') + ',' + QuotedStr('20px') + ');}'; can I know how to add the extEvent to the panel at RunTime? Thank You.
  3. Hi, The Horizontal Bar is always active, even if not necessary. Any solution for hiding the horizontal bar in the latest version? To reproduce the problem: 1) Drop one uniscrollbox in one form and set 'Align' to alClient. 2) Drop one unipanel into the scrollbox and set its 'Align' to alTop 3) Run the application. http://forums.unigui.com/index.php?/topic/168-more-questions-and-improvements/ Thank You.
  4. I am using v1.0.0.1397 Thank You.
  5. Hi, Is it possible to add one column to show the row number? and the number will be automatically updated when any row is deleted. Thanks?
  6. clement

    ClientEvents

    Hi, Is there any document/link to learn how to write the coding of ClientEvents? Thank You.
  7. No. I write the below code in OnChange of the ColA & ColB (clientdataset). ColC.Value := ColA.Value * ColB.Value; The "ColC.Value" will not update in the grid.
  8. Hi, I use one uniDBGrid and clientdateset to allow user to enter value in ColA & ColB. The ColC is the result (ColA x ColB). Formula: ColC = ColA * ColB ColA | ColB | ColC 1 1.5 1.5 2 3 6 2 2.5 5 The DBGrid cannot immediately show the result/value of ColC after the value of ColA & ColB is entered. Can I know how to achieve it? Thank You.
  9. Hi, I use one clientdataset to link to the DBGrid, but it shows the below message when I press the "Refresh" button in DBnavigator. 1) "cdsDeliverDtl: Must apply updates before refreshing data." 2) "cdsUserCart: Missing data provider or data packet." Anyone knows how to solve it? Thank You.
  10. Thanks for your reply. ColA is CheckBox ColA | ColB Row1 True Success (Row1 - ColA ReadOnly Is False) Row2 False Fail (Row2 - ColA ReadOnly Is True) Row3 False Fail (Row3 - ColA ReadOnly Is True) Row4 False Success (Row4 - ColA ReadOnly Is False) It means user can only edit the ColA of Row1 & Row4. function beforeedit(editor, context, eOpts) { var me=context; if ((me.column.dataIndex == "0") && (me.record.data[1] != "Success")) { return false; } } I use the above code, but Row 2 & Row 3 (ColA) still can be edited. Anything is wrong?
  11. uniGUI Complete Trial Edition 1.0.0 Build 1402 thanks.
  12. Is it possible to set one cell to ReadOnly = True/False? for example, Row 1 -> if the 1st column's value is Y, then the 2nd column is "ReadOnly = True" (cannot edit) Row 2 -> the 1st column's value is N, then the 2nd column is "ReadOnly = False" (can edit)
  13. Hi, I use the Navigator to add one new record, then I want the cursor in the 1st column of the new row. So user can enter the data directly. Any way to do it?
  14. Hi, How can I setfocus & selectAll in one cell? Thank You.
  15. I am using FMSoft_uniGUI_Complete_Professional_0.99.96.1346 Thanks.
  16. Hi, Is it possible to make rounded corners in TuniPanel? Thank you.
  17. clement

    TUniFIleUpload

    Hi, thank you for your reply. yes, it only allows user to upload one file at a time. But I do not want the user choose other file type. for example, I set the filter to '.pdf', so user can only select .pdf file. however, 'All Files (*.*)' allows user to view & select other file type. thanks.
  18. clement

    TUniFIleUpload

    Hi, Can I know is there anyway to remove the All Files (*.*)? because it only allows to upload one file type. Thanks.
  19. clement

    Browser freeze

    Hi Hayri Aslan, The code like: vLocation := 'http://' + UniMainModule.mtSubscriptedInfoIP_Address.AsString + ':' + UniMainModule.mtSubscriptedInfoPort_Number.AsString + '/?' + 'user_id=' + UniMainModule.mtUserAccountUserAccount_ID.AsString + '&' + 'user_name=' + UniMainModule.mtUserAccountUser_Name.AsString; myForm.FrameInitial(vLocation); I just do not want the browser to be freeze if the target url cannot be connected. Thank You.
  20. clement

    Browser freeze

    I am using the below exe: FMSoft_uniGUI_Complete_Professional_0.99.96.1346_Trial.exe Thanks.
  21. clement

    Browser freeze

    Hi, I got two UniGUI applications. The browser will freeze if the 1st application is fail to call the 2nd application (unable to connect). User has to refresh the browser and login again. I would like to know how to avoid the browser freeze? Thank you.
  22. Hi, I put one 'login' button in the right top corner of the main form. Main Form Properties setting: 1) BorderStyle = bsNone 2) WindowState = wsMaximized My problem is : 1) I resize the browser to half size, I cannot see the scroll bar. 2) If I open the application with half size of the browser, then maximize the browser . The main form will not extend with browser. If I change the WindowState to wsNormal, then the main form will be 'cut off' when I resize the browser windowns. I would like to know is there any simple demo that can create the similar main form in the AllFeaturesDemo? Thank You.
  23. clement

    Hide Parameter

    Hi, 1) How can I hide the parameter shown in the address bar? UniSession.AddJs('window.open(http://localhost:8077/?UserName=myName);'); Thank You.
×
×
  • Create New...