Jump to content

Yai_NP_TH

uniGUI Subscriber
  • Posts

    8
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

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

Yai_NP_TH's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. FMSoft_uniGUI_Complete_Professional_1.90.0.1563
  2. set Showsummary := true; and WidgetColumn.Enabled := true; but Column don't show Summary.
  3. function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts) { var widgetColIndx=1; columns[widgetColIndx].onWidgetAttach = function(column, widget, record) { if (record.get(widgetColIndx) == "Blue Angelfish") { widget.setvisible(true); } else { widget.setvisible(false); }; }; }
  4. C:\Program Files (x86)\FMSoft\Framework\uniGUI\ext-7.0.0\build\classic\locale\ext-lang-th.js Ext.onReady(function(){if(Ext.Date){ Ext.Date.monthNames = [ 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม' ]; Ext.Date.getShortMonthName = function(month) { var Shortmonth ; if (month == 0) { Shortmonth = "ม.ค."; } else if (month == 1) { Shortmonth = "ก.พ."; } else if (month == 2) { Shortmonth = "มี.ค."; } else if (month == 3) { Shortmonth = "เม.ย."; } else if (month == 4) { Shortmonth = "พ.ค."; } else if (month == 5) { Shortmonth = "มิ.ย."; } else if (month == 6) { Shortmonth = "ก.ค."; } else if (month == 7) { Shortmonth = "ส.ค."; } else if (month == 8) { Shortmonth = "ก.ย."; } else if (month == 9) { Shortmonth = "ต.ค."; } else if (month == 10) { Shortmonth = "พ.ย."; } else if (month == 11) { Shortmonth = "ธ.ค."; } else { Shortmonth = "evening"; } return Shortmonth; }; Ext.Date.monthNumbers = { 'มกราคม': 0, 'กุมภาพันธ์': 1, 'มีนาคม': 2, 'เมษายน': 3, 'พฤษภาคม': 4, 'มิถุนายน': 5, 'กรกฎาคม': 6, 'สิงหาคม': 7, 'กันยายน': 8, 'ตุลาคม': 9, 'พฤศจิกายน':10, 'ธันวาคม':11 }; Ext.Date.getMonthNumber = function(name) { return Ext.Date.monthNumbers[name]; }; Ext.Date.dayNames = [ "อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์" ]; Ext.Date.getShortDayName = function(day) { return Ext.Date.dayNames[day]; }; } if(Ext.util&&Ext.util.Format){Ext.apply(Ext.util.Format,{thousandSeparator:'.',decimalSeparator:',',currencySign:'฿',dateFormat:'d/m/Y'})}}); Ext.define("Ext.locale.th.view.View",{override:"Ext.view.View",emptyText:""}); Ext.define("Ext.locale.th.grid.plugin.DragDrop",{override:"Ext.grid.plugin.DragDrop",dragText:"{0} selected row{1}"}); Ext.define("Ext.locale.th.tab.Tab",{override:"Ext.tab.Tab",closeText:"ปิด"}); Ext.define("Ext.locale.th.form.field.Base",{override:"Ext.form.field.Base",invalidText:"ค่าในช่องนี้ไม่ถูกต้อง"}); Ext.define("Ext.locale.th.view.AbstractView",{override:"Ext.view.AbstractView",loadingText:"กำลังเปิด..."}); Ext.define("Ext.locale.th.picker.Date",{override:"Ext.picker.Date",todayText:"วันนี้",minText:"วันที่นี้อยู่ก่อนวันขั้นต่ำ",maxText:"วันที่นี้อยู่หลังวันที่สูงสุด",disabledDaysText:"",disabledDatesText:"",nextText:'เดือนหน้า (Control+Right)',prevText:'เดือนที่แล้ว (Control+Left)',monthYearText:'เลือกเดือน (Control+Up/Down to move years)',todayTip:"{0} (Spacebar)",format:"d/m/y",startDay:0}); Ext.define("Ext.locale.th.picker.Month",{override:"Ext.picker.Month",okText:" ตกลง ",cancelText:"ยกเลิก"}); Ext.define("Ext.locale.th.toolbar.Paging",{override:"Ext.PagingToolbar",beforePageText:"หน้า",afterPageText:"of {0}",firstText:"หน้าแรก",prevText:"หน้าที่แล้ว",nextText:"หน้าต่อไป",lastText:"หน้าสุดท้าย",refreshText:"รีเฟรช",displayMsg:"กำลังแสดง {0} - {1} ถึง {2}",emptyMsg:'ไม่มีข้อมูลที่จะแสดง'}); Ext.define("Ext.locale.th.form.field.Text",{override:"Ext.form.field.Text",minLengthText:"The minimum length for this field is {0}",maxLengthText:"The maximum length for this field is {0}",blankText:"This field is required",regexText:"",emptyText:null}); Ext.define("Ext.locale.th.form.field.Number",{override:"Ext.form.field.Number",minText:"The minimum value for this field is {0}",maxText:"The maximum value for this field is {0}",nanText:"{0} is not a valid number"}); Ext.define("Ext.locale.th.form.field.Date",{override:"Ext.form.field.Date",disabledDaysText:"ปิดการใช้งาน",disabledDatesText:"ปิดการใช้งาน",minText:"The date in this field must be after {0}",maxText:"The date in this field must be before {0}",invalidText:"{0} is not a valid date - it must be in the format {1}",format:"d/m/y",altFormats:"d/m/Y|d-m-y|d-m-Y|d/m|m-d|md|mdy|mdY|d|Y-m-d"}); Ext.define("Ext.locale.th.form.field.ComboBox",{override:"Ext.form.field.ComboBox",valueNotFoundText:undefined},function(){Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig,{loadingText:"กำลังเปิด..."})}); Ext.define("Ext.locale.th.form.field.VTypes",{override:"Ext.form.field.VTypes",emailText:'This field should be an e-mail address in the format "user@example.com"',urlText:'This field should be a URL in the format "http:/'+'/www.example.com"',alphaText:'This field should only contain letters and _',alphanumText:'This field should only contain letters, numbers and _'}); Ext.define("Ext.locale.th.form.field.HtmlEditor",{override:"Ext.form.field.HtmlEditor",createLinkText:'Please enter the URL for the link:'},function(){Ext.apply(Ext.form.field.HtmlEditor.prototype,{buttonTips:{bold:{title:'Bold (Ctrl+B)',text:'Make the selected text bold.',cls:Ext.baseCSSPrefix+'html-editor-tip'},italic:{title:'Italic (Ctrl+I)',text:'Make the selected text italic.',cls:Ext.baseCSSPrefix+'html-editor-tip'},underline:{title:'Underline (Ctrl+U)',text:'Underline the selected text.',cls:Ext.baseCSSPrefix+'html-editor-tip'},increasefontsize:{title:'Grow Text',text:'Increase the font size.',cls:Ext.baseCSSPrefix+'html-editor-tip'},decreasefontsize:{title:'Shrink Text',text:'Decrease the font size.',cls:Ext.baseCSSPrefix+'html-editor-tip'},backcolor:{title:'Text Highlight Color',text:'Change the background color of the selected text.',cls:Ext.baseCSSPrefix+'html-editor-tip'},forecolor:{title:'Font Color',text:'Change the color of the selected text.',cls:Ext.baseCSSPrefix+'html-editor-tip'},justifyleft:{title:'Align Text Left',text:'Align text to the left.',cls:Ext.baseCSSPrefix+'html-editor-tip'},justifycenter:{title:'Center Text',text:'Center text in the editor.',cls:Ext.baseCSSPrefix+'html-editor-tip'},justifyright:{title:'Align Text Right',text:'Align text to the right.',cls:Ext.baseCSSPrefix+'html-editor-tip'},insertunorderedlist:{title:'Bullet List',text:'Start a bulleted list.',cls:Ext.baseCSSPrefix+'html-editor-tip'},insertorderedlist:{title:'Numbered List',text:'Start a numbered list.',cls:Ext.baseCSSPrefix+'html-editor-tip'},createlink:{title:'Hyperlink',text:'Make the selected text a hyperlink.',cls:Ext.baseCSSPrefix+'html-editor-tip'},sourceedit:{title:'Source Edit',text:'Switch to source editing mode.',cls:Ext.baseCSSPrefix+'html-editor-tip'}}})}); Ext.define("Ext.locale.th.grid.header.Container",{override:"Ext.grid.header.Container",sortAscText:"Sort Ascending",sortDescText:"Sort Descending",lockText:"Lock Column",unlockText:"Unlock Column",columnsText:"Columns"}); Ext.define("Ext.locale.th.grid.GroupingFeature",{override:"Ext.grid.feature.Grouping",emptyGroupText:'(None)',groupByText:'Group By This Field',showGroupsText:'Show in Groups'}); Ext.define("Ext.locale.th.grid.PropertyColumnModel",{override:"Ext.grid.PropertyColumnModel",nameText:"Name",valueText:"Value",dateFormat:"d/m/Y"}); Ext.define("Ext.locale.th.window.MessageBox",{override:"Ext.window.MessageBox",buttonText:{ok:"ตกลง",cancel:"ยกเลิก",yes:"ไช่",no:"ไม่ไช่"}}); Ext.define("Ext.locale.th.Component",{override:"Ext.Component"}); locale-th.js
  5. รอคำตอบเหมือนกัน
  6. Set scaling in Windows Display Settings for your monitor to 125%
×
×
  • Create New...