
ไม่รู้ว่า Icon มาจากไหน Update จาก internet รึว่า ทำเตรียมไว้ก่อนแล้ว
ว่าง ๆ ต้องลองเปลี่ยนวันที่เครื่องดูซะแล้ว ว่ามีวันอื่นอีกรึเปล่า
static void typeDetect(Args _args)
{
DictType dictType;
;
print "This ID is the TypeId, not the EDT ID - ", typeId(ItemId);
print "This ID is what we need - ", typeId2ExtendedTypeId(typeId(ItemId));
print "This ID is wrong - ", new DictType(typeId(ItemId)).id();
dictType = new DictType(typeId2ExtendedTypeId(typeId(ItemId)));
print "This ID is correct - ", dictType.id();
print dictType.name();
pause;
}
$ProvinceSelect.="
function newXmlHttp(){
var xmlhttp = false;
var contentType = "application/x-www-form-urlencoded; charset=utf-8";
try{
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}catch(e){
try{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}catch(e){
xmlhttp = false;
}
}
if(!xmlhttp && document.createElement){
xmlhttp = new XMLHttpRequest();
}
return xmlhttp;
}
function getAmphur(p){
pagefile="amphur_list.php?P="+p;
var getcontent;
getcontent =newXmlHttp();
getcontent.open('GET', pagefile, true);
getcontent.onreadystatechange = function(){
if (getcontent.readyState == 4 && getcontent.status == 200) {
document.getElementById('AmphurList').innerHTML = getcontent.responseText;
}
}
getcontent.send(null);
}
function getTumbol(p,a){
pagefile="tumbol_list.php?P="+p+"&A="+a;
var getcontent;
getcontent =newXmlHttp();
getcontent.open('GET', pagefile, true);
getcontent.onreadystatechange = function(){
if (getcontent.readyState == 4 && getcontent.status == 200) {
document.getElementById('TumbolList').innerHTML = getcontent.responseText;
}
}
getcontent.send(null);
}
$Output="";
echo $Output;
$Output=" $SQL="SELECT id,name FROM sci._tumbol WHERE province='".$_GET["P"]."' AND amphur='".$_GET["A"]."'";
$NumRows=$myDB->Query($SQL);
while($row=$myDB->GetRow()){
$Output.="";
}
$Output.="";
echo $Output;
static void FindForUpdate(Args _args)
{
EmplTable myRow;
;
ttsbegin;
myRow = EmplTable::find('0154-3',true);
myRow.Name ='Nikom';
myRow.update();
ttscommit;
}
eXtplorer is a web-based File Manager. You can use it to
* browse directories & files on the server and
* edit, copy, move, delete files,
* search, upload and download files,
* create and extract archives,
* create new files and directories,
* change file permissions (chmod) and much more...
You can even use eXtplorer to login to the FTP server (like net2ftp) and work as if you were using an FTP client. Access via WebDAV is also possible (requires some extra work and a database!).
eXtplorer is released under a dual-license: You can choose wether you want to use eXtplorer under the Mozilla Public License (MPL 1.1) or under the GNU General Public License (GNU/GPL). Note that if you decide to distribute/use eXtplorer under the MPL, you are not allowed to use the ExtJS Javascript library.
eXtplorer needs at least PHP 4.3 on the server and an up-to-date browser with Javascript enabled to run.
apt-get install syslog-ng
options {
recv_time_zone (+07:00);
send_time_zone (+07:00);
sync (0);
time_reopen (100);
log_fifo_size (1000);
long_hostnames (off);
use_dns (no);
use_fqdn (no);
create_dirs (yes);
chain_hostnames(yes);
keep_hostname (yes);
};
source s_sys {
file ("/proc/kmsg" log_prefix("kernel: "));
unix-stream ("/dev/log");
internal();
#udp(ip(0.0.0.0) port(514));
#tcp(ip(0.0.0.0) port(514) keep-alive(yes));
};
destination d_mysql {
pipe("/var/log/mysql.pipe"
template("INSERT INTO logs (host, facility, priority, level, tag, datetime, program, msg) VALUES ( '$HOST', '$FACILITY', '$PRIORITY', '$LEVEL', '$TAG', '$YEAR-$MONTH-$DAY $HOUR:$MIN:$SEC', '$PROGRAM', '$MSG' );\n")
template-escape(yes));
};
filter f_filter1 { facility (kern); };
filter f_filter2 { level(info..emerg) and not facility(mail,authpriv,cron); };
filter f_filter3 { facility(authpriv); };
filter f_filter4 { facility(mail); };
filter f_filter5 { level(emerg); };
filter f_filter6 { facility(uucp) or (facility(news) and level(crit..emerg)); };
filter f_filter7 { facility(local7); };
filter f_filter8 { facility(cron); };
log { source(s_sys); filter(f_filter1); destination(d_mysql); };
log { source(s_sys); filter(f_filter2); destination(d_mysql); };
log { source(s_sys); filter(f_filter3); destination(d_mysql); };
log { source(s_sys); filter(f_filter4); destination(d_mysql); };
log { source(s_sys); filter(f_filter5); destination(d_mysql); };
log { source(s_sys); filter(f_filter6); destination(d_mysql); };
log { source(s_sys); filter(f_filter7); destination(d_mysql); };
log { source(s_sys); filter(f_filter8); destination(d_mysql); };
#####################################################################
# Source from remote client
source s_client {
tcp(ip(0.0.0.0) port(514) keep-alive(yes) max-connections(300));
udp(ip(0.0.0.0) port(514));
};
log {source(s_client); destination(d_mysql); };
vi syslog2mysql.sh
#!/bin/bash
if [ ! -e /var/log/mysql.pipe ]
then
mkfifo /var/log/mysql.pipe
fi
while [ -e /var/log/mysql.pipe ]
do
mysql -u root --password=xxx syslogng < /var/log/mysql.pipe >/dev/null
done
chmod +x syslog2mysql.sh
./syslog2mysql.sh &
/etc/init.d/syslog-ng start
options {
sync (0);
time_reopen (10);
log_fifo_size (1000);
long_hostnames (off);
use_dns (no);
use_fqdn (no);
create_dirs (yes);
keep_hostname (yes);
};
source s_sys {
file ("/proc/kmsg" log_prefix("kernel: "));
unix-stream ("/dev/log");
internal();
#udp(ip(0.0.0.0) port(514));
#tcp(ip(0.0.0.0) port(5149) keep-alive(yes));
};
destination logserver { tcp("192.168.0.251" port(514)); };
destination d_cons { file("/dev/console"); };
destination d_mesg { file("/var/log/messages"); };
destination d_auth { file("/var/log/secure"); };
destination d_mail { file("/var/log/maillog" sync(10)); };
destination d_spol { file("/var/log/spooler"); };
destination d_boot { file("/var/log/boot.log"); };
destination d_cron { file("/var/log/cron"); };
destination d_kern { file("/var/log/kern"); };
destination d_mlal { usertty("*"); };
filter f_filter1 { facility(kern); };
filter f_filter2 { level(info..emerg) and not (facility(mail) or facility(authpriv) or facility(cron)); };
filter f_filter3 { facility(authpriv); };
filter f_filter4 { facility(mail); };
filter f_filter5 { level(emerg); };
filter f_filter6 { facility(uucp) or (facility(news) and level(crit..emerg)); };
filter f_filter7 { facility(local7); };
filter f_filter8 { facility(cron); };
# Remove the 'squid' log entries from 'user' log facility
filter f_remove { not program("squid"); };
log { source(s_sys); filter(f_filter1); destination(d_cons); };
log { source(s_sys); filter(f_filter1); destination(d_kern); };
log { source(s_sys); filter(f_filter2); filter(f_remove); destination(d_mesg); };
log { source(s_sys); filter(f_filter3); destination(d_auth); };
log { source(s_sys); filter(f_filter4); destination(d_mail); };
log { source(s_sys); filter(f_filter5); destination(d_mlal); };
log { source(s_sys); filter(f_filter6); destination(d_spol); };
log { source(s_sys); filter(f_filter7); destination(d_boot); };
log { source(s_sys); filter(f_filter8); destination(d_cron); };
filter f_squid { program("squid") and facility(user); };
destination d_squid {
file("/var/log/$HOST/$YEAR/$MONTH/squid.$YEAR-$MONTH-$DAY"
owner(root) group(adm) perm(665)
create_dirs(yes) dir_perm(0775));
};
log { source(s_sys); destination(logserver); };
localhost,*6
SkipInitDLLScan,0
LogAppliance,192.168.0.251
RepositoryPath,C:\Program Files\Lasso\LassoRepository\
SpoolPath,C:\Program Files\Lasso\LassoRepository\Spool\
EventPollInterval,10
SpoolFileSize,1.0
WatermarkWriteInterval,100
MaxTraceFileSize,20
MaxNumWorkerThreads,4
DllLoadInterval,3600
HighWaterMarks,ON
#DefaultLassoShare,LassoShare=C:\LassoTemp
CheckHostListInterval,3600
NewHostSkipHistorical,0
EnableShareDlls,1
CheckRemHostAvail,0
EnableAdminSharesIfDisabled,0
DebugLevel,0
LogLevel,1
DebugHostFileSize,20
AccessReport,0
wget http://jaist.dl.sourceforge.net/sourceforge/phpsyslogviewer/phpsyslogviewer-7.2.1.tar.bz2
tar xjvf phpsyslogviewer-7.2.1.tar.bz2
cd phpsyslogviewer-7.2.1
mysql -u root -p
mysql > create database syslogng;
mysql > exit;
mysql -u root -p syslogng < install/phpsyslogviewer.sql
vi install/newuser.sql.php
php install/newuser.sql.php (ถ้ายังไม่มี php-cli ต้องลงก่อน apt-get install php5-cli)
php install/newuser.sql.php | mysql -u root -p syslogng
cp -R htdocs /var/www/phpsyslogviewer
vi /var/www/phpsyslogviewer/config.php
chown root:www-data /var/www/phpsyslogviewer/config.php
chmod 440 /var/www/phpsyslogviewer/config.php
wget http://jaist.dl.sourceforge.net/sourceforge/phpsyslogviewer/speedupd-7.3.2.tar.bz2
tar xjvf speedupd-7.3.2.tar.bz2
cd speedup-7.3.2ฝ
apt-get install debhelper cmake libdaemon-dev libconfuse-dev fakeroot
apt-get install build-essential libmysqlclient15-dev
dpkg-buildpackage -rfakeroot
cd ..
dpkg -i speedupd_7.3.0_i386.deb
vi /etc/speedupd.conf
/etc/init.d/speedupd start
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
driftfile /var/lib/ntp/ntp.drift
# Enable this if you want statistics to be logged.
#statsdir /var/log/ntpstats/
#statistics loopstats peerstats clockstats
#filegen loopstats file loopstats type day enable
#filegen peerstats file peerstats type day enable
#filegen clockstats file clockstats type day enable
# You do need to talk to an NTP server or two (or three).
server 203.185.69.60 dynamic
server time.navy.mi.th dynamic
server time.nist.gov dynamic
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
broadcastdelay 0.008
keys /etc/ntp/keys
# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
# details. The web page # might also be helpful.
#
# Note that "restrict" applies to both servers and clients, so a configuration
# that might be intended to block requests from certain clients could also end
# up blocking replies from your own upstream servers.
# By default, exchange time with everybody, but don't allow configuration.
#restrict -4 default kod notrap nomodify nopeer noquery
restrict default kod notrap nomodify nopeer noquery
# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
#restrict ::1
# Clients from this (example!) subnet have unlimited access, but only if
# cryptographically authenticated.
restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap
# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
#broadcast 192.168.123.255
# If you want to listen to time broadcasts on your local subnet, de-comment the
# next lines. Please do this only if you trust everybody on the network!
#disable auth
#broadcastclient
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
driftfile /var/lib/ntp/ntp.drift
# Enable this if you want statistics to be logged.
#statsdir /var/log/ntpstats/
#statistics loopstats peerstats clockstats
#filegen loopstats file loopstats type day enable
#filegen peerstats file peerstats type day enable
#filegen clockstats file clockstats type day enable
# You do need to talk to an NTP server or two (or three). (192.168.0.251 is Log Server)
server 192.168.0.251
# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
# details. The web page
# might also be helpful.
#
# Note that "restrict" applies to both servers and clients, so a configuration
# that might be intended to block requests from certain clients could also end
# up blocking replies from your own upstream servers.
# By default, exchange time with everybody, but don't allow configuration.
#restrict -4 default kod notrap nomodify nopeer noquery
#restrict -6 default kod notrap nomodify nopeer noquery
restrict default ignore
# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
#restrict ::1
# Clients from this (example!) subnet have unlimited access, but only if
# cryptographically authenticated. (192.168.0.251 is Log Server)
restrict 192.168.0.251 mask 255.255.255.255 nomodify notrap noquery
# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
#broadcast 192.168.123.255
# If you want to listen to time broadcasts on your local subnet, de-comment the
# next lines. Please do this only if you trust everybody on the network!
#disable auth
#broadcastclient
# ntpq -pn
# ntpdc
ntpdc>sysinfo
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config]
"AnnounceFlags"=dword:00000005
"MaxNegPhaseCorrection"=dword:00000e10
"MaxPosPhaseCorrection"=dword:00000e10
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters]
"NtpServer"="192.168.0.251,0x1"
"Type"="NTP"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient]
"SpecialPollInterval"=dword:00000384
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer]
"Enabled"=dword:00000001
:\>net stop w32time
:\>net start w32time
:\>net time
:\>net time /querysntp
ERROR: The requested URL could not be retrieved

COM OpenOffice;
COM oDeskTop;
COM oDocument;
COMVariant arg;
COMVariant byte;
Array Arr = new Array(Types::Class);
Array oArr = new Array(Types::Class);
str url,outFile;
COM FileProperties;
;
OpenOffice = new Com("com.sun.star.ServiceManager");
oDeskTop = OpenOffice.CreateInstance("com.sun.star.frame.Desktop");
// #############################################################
// เปิดไฟล์
arg = comVariant::createFromArray(Arr);
url = "file://Axaptaserver/AxaptaSP4/Excel/Losses.xls";
oDocument = oDeskTop.LoadComponentFromURL(url, "_blank", 0, arg);
// #############################################################
// #############################################################
// Save as เป็นอีกไฟล์
FileProperties = OpenOffice.Bridge_GetStruct('com.sun.star.beans.PropertyValue');
FileProperties.Name('Overwrite');
FileProperties.Value(true);
oArr.value(1,FileProperties);
arg = comVariant::createFromArray(oArr);
outFile = "file:///C:/Losses.xls";
oDocument.storeAsURL(outFile,arg);
// #############################################################
JournalId myJournalId;
;
myJournalId = NumberSeq::newGetNum(ProdParameters::numRefProdJournalId()).num();
myJournalId = NumberSeq::newGetNum(PurchParameters::numRefPurchaseOrderId()).num();
myJournalId = NumberSeq::newGetNum(InventParameters::numRefInventJournalId()).num();
myJournalId = NumberSeq::newGetNum(SalesParameters::numRefConfirmId()).num();
static void ExcelFormating(Args _args)
{
#Excel
SysExcelApplication excel;
SysExcelWorkbooks books;
SysExcelWorkbook book;
SysExcelWorksheet sheet;
SysExcelRange range;
SysExcelStyles styles;
SysExcelStyle style;
SysExcelInterior interior;
SysExcelFont font;
COM _char, _r;
;
excel = SysExcelApplication::construct();
excel.visible(true);
books = excel.workbooks();
book = books.add();
sheet = excel.activeSheet();
range = sheet.range('A1');
styles = book.styles();
style = styles.add('MyStyle');
interior = style.interior();
interior.color(WinApi::RGB2int(246, 233, 206));
font = style.font();
font.bold(true);
font.color(winapi::RGB2int(153, 204, 255));
range.style('MyStyle');
range.locked(true);
_r = range.comObject();
_char = _r.characters(1);
_char.insert('MyStyle');
}
class SCI_Costing extends RunBase
{
FormStringControl SalesIdCtrl, ItemIdCtrl;
FormCheckBoxControl bAllCtrl;
SalesId salesId;
ItemId itemId;
NoYes bAll;
#define.CurrentVersion(1)
#localmacro.CurrentList
salesId,
itemId,
bAll
#endmacro
}
protected Object dialog(Dialog dialog, boolean forceOnClient)
{
DialogRunBase ret;
;
ret = super(dialog, forceOnClient);
ret.caption('Costing report by order');
ret.allowUpdateOnSelectCtrl(true); //อนุญาตให้ update control ได้
SalesIdCtrl = ret.formBuildDesign().addControl(FormControlType::String,'SalesId');
SalesIdCtrl.extendedDataType(extendedTypeNum('SalesId'));
bAllCtrl = ret.formBuildDesign().addControl(FormControlType::CheckBox,'bAll');
bAllCtrl.label('All');
ItemIdCtrl = ret.formBuildDesign().addControl(FormControlType::String,'ItemId');
ItemIdCtrl.extendedDataType(extendedTypeNum('ItemId'));
return ret;
}
public void dialogPostRun(DialogRunbase dialog)
{
;
super(dialog);
dialog.dialogForm().formRun().controlMethodOverload(true);
dialog.dialogForm().formRun().controlMethodOverloadObject(this);
SalesIdCtrl = dialog.dialogForm().formRun().design().controlName('SalesId');
ItemIdCtrl = dialog.dialogForm().formRun().design().controlName('ItemId');
bAllCtrl = dialog.dialogForm().formRun().design().controlName('bAll');
}
public void dialogSelectCtrl()
{
;
if (bAllCtrl.value()== 0)
{
ItemIdCtrl.allowEdit(true);
}
else
{
ItemIdCtrl.allowEdit(false);
}
}
CrysRpt.Formulas(0) = "FormulaName=" & Chr(34) & Replace$(txtName.Text, vbNewLine, Chr(34) & " & Chr(10) & " & Chr(34)) & Chr(34)
บรรทัดที่ 1
บรรทัดที่ 2
FormulaName="บรรทัดที่ 1" & Chr(10) & "บรรทัดที่ 2"
public void clicked()
{
Qty tmpQty1;
Qty tmpQty2;
FormCheckboxControl formCheckboxControl;
;
super(); // ต้องรัน super ก่อน ไม่งั้นค่าไม่เปลี่ยน
// รับค่าจาก design
formCheckboxControl = element.design().control(control::ProdParmHistoricalCost_EndJob);
// box::info(strfmt("%1",formCheckboxControl.value()));
if(formCheckboxControl.value() == 1){ //ถ้า checked จะเป็น 1
tmpQty1 = ProdTable::find(ProdParmHistoricalCost.ProdId).QtySched;
tmpQty2 = ProdTableJour::reportedFinishedGood(ProdParmHistoricalCost.prodId);
if(tmpQty1 != tmpQty2){
if(box::yesNo("Sure?", DialogButton::Yes, "Confirm") == DialogButton::Yes)
{
if(box::yesNo("Sure?",DialogButton::Yes,"Confirm")== DialogButton::Yes){
formCheckboxControl.value(true); //สั่งให้ checked
}else{
formCheckboxControl.value(false); //สั่งให้ ไม่ checked
}
}else{
formCheckboxControl.value(false);
}
}
}
}
class LookupDialog extends RunBase
{
FormStringControl SalesIdCtrl, ItemIdCtrl;
}
protected Object dialog(Dialog dialog, boolean forceOnClient)
{
DialogRunBase ret;
;
ret = super(dialog, forceOnClient);
ret.caption('Costing report by order');
SalesIdCtrl = ret.formBuildDesign().addControl(FormControlType::String,'SalesId');
SalesIdCtrl.extendedDataType(extendedTypeNum('SalesId'));
ItemIdCtrl = ret.formBuildDesign().addControl(FormControlType::String,'ItemId');
ItemIdCtrl.extendedDataType(extendedTypeNum('ItemId'));
return ret;
}
public void dialogPostRun(DialogRunbase dialog)
{
;
super(dialog);
dialog.dialogForm().formRun().controlMethodOverload(true);
dialog.dialogForm().formRun().controlMethodOverloadObject(this);
SalesIdCtrl = dialog.dialogForm().formRun().design().controlName('SalesId');
ItemIdCtrl = dialog.dialogForm().formRun().design().controlName('ItemId');
}
void ItemId_lookup()
{
Query query = new Query();
SysTableLookup sysTableLookup =
SysTableLookup::newParameters(tableNum(SalesLine), SalesIdCtrl);
;
sysTableLookup.addLookupField(fieldNum(SalesLine, ItemId));
sysTableLookup.addLookupField(fieldNum(SalesLine, Name));
query.addDataSource(tableNum(SalesLine)).addRange(fieldNum(SalesLine,SalesId)).value(SalesIdCtrl.text());
sysTableLookup.parmQuery(query);
sysTableLookup.performFormLookup();
}
public container pack()
{
return conNull();
}
public boolean unpack(container packedClass)
{
return true;
}
static void main(Args _args)
{
LookupDialog test1 = new LookupDialog();
;
if (test1.prompt())
{
test1.run();
}
}
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
192.168.0.250 IF-Nikom.sci.com IF-Nikom
192.168.0.1 axaptaserver.sci.com axaptaserver
192.168.0.251 server1.sci.com server1
192.168.0.252 server2.sci.com server2
192.168.0.253 server3.sci.com server3
"เกิดมาเยี่ยงกษัตริย์ขัตติยราช
แต่อนิจจา! อนาถนัก
ต้องพลัดพรากถิ่นฐานแหล่งกำเนิด
ซมซานพเนจรไปทั่วเขตแคว้นแดนกันดาร"
"ทุกหุบห้วยละหารสำเนาไพร
ข้าบุกบั่นไปปิ่มเลือดตากระเด็น
มีดวงดารากรแทนประทีปส่อง
ฝากอนาคตไว้กับหมู่เมฆอันเลื่อนลอย"
"สุริยาประทานพลังฤทธิ์ให้แก่ข้า
จันทราเปรียบเสมือนเพื่อนใจ
หากสวรรค์ส่งข้ามาเกิดจริงแล้วไซร้
ข้าคงกลับคืนไปสู่เจ้าได้สมจินต์"
รอข้าก่อน อาณาจักรสีทอง อันผ่องใส
รอข้าก่อน ประชากรทั้งหลาย
และรอข้าก่อน ศัตรูหมู่อมิตร
ข้ากำลังจะกลับไป.. กลับไป..กลับไป..."
ทำไมความรักชนะทุกสิ่ง
=CONCATENATE(A1,CHAR(13),CHAR(10),B1)
sdelete -c drive
sdelete -c c:/
USE db1
GO
EXEC sp_spaceused N'dbo.orders'
GO
USE db1
GO
EXEC sp_spaceused
GO
1. Open up your Home Folder by clicking Places>Home Folder
2. Press CTRL-H (or click View>Show Hidden Files)
3. Find a folder called .gnome2 (it has a period at the beginning of the name) and open it by double clicking on it
4. In side of the .gnome2 folder, there is another folder called keyrings. Open it up.
5. Delete any files you find within the keyrings folder
6. Restart the computer
rm ~/.gnome2/keyrings/default.keyring
รักมาก โกรธมาก ห่วงมาก หวงมาก หึงมาก
สัตว์ใดที่ว่าร้าย ไม่ร้ายเท่ามนุษย์ โดยเฉพาะ มนุษย์ที่เรียกว่า สตรี
gksudo nautilus
gksu nautilus
sudo nautilus
เป็นการง่ายยิ้มได้ไม่ต้องฝืน เมื่อชีพชื่นเหมือนบรรเลงเพลงสวรรค์
แต่คนที่ควรชมนิยมกัน ต้องใจมั่นยิ้มได้เมื่อภัยมา
ความจริง อาจเป็นจริงอยู่ในช่วงเวลาใดช่วงเวลาหนึ่งเท่านั้น
ชื่อสามัญ ว่านแสงอาทิตย์
Blood Lily
ชื่อวิทยาศาสตร์ Haemanthus mutlifloreus
พืชล้มลุก มีลำต้นอยู่ใต้ดิน ใบเป็นแผ่นเรียวยาว ในช่วงฤดูร้อน - ต้นฤดูฝนจะแทงช่อดอกคลุมขนาดใหญ่สีแดงโผล่พ้น
ดินขึ้นมาสูงประมาณ 50 เซนติเมตร
ส่วนที่เป็นพิษ หัวและใบ ทำให้ท้องเดิน อาเจียนหัวใจเต้นเร็วผิดปกติ
ว่านแสงอาทิตย์
ชื่อวิทยาศาสตร์: Haemanthus multiflorus (Tratt.) Martyn
วงศ์ : Amaryllidaceae
ชื่อสามัญ : Blood Lily
ชื่ออื่น : ว่านตะกร้อ
ลักษณะ ทางพฤกษศาสตร์ : เป็นไม้ล้มลุกใบอวบน้ำ มีลำตัวเป็นหัวลักษณะคล้ายหอมหัวใหญ่ เจริญอยู่ใต้ดิน กลุ่มใบที่เกิดจากหัวชูขึ้นมาเหนือพื้นดิน ใบรูปหอกสีเขียวเข้มยาวประมาณ 8 นิ้ว เมื่อออกดอกจะชู้ก้านดอกเป็นลำตรงสีเขียวอ่อน จากกลางต้นสูงมาพ้นใบ ดอกออกติดกันแน่นเป็นทรงกลม สวยงามสะดุดตามาก ดอกของแสงอาทิตย์ช่อหนึ่ง ๆ มีเส้นผ่าศูนย์กลางประมาณ 3-4 นิ้ว และจะบานติดต้นอยู่ประมาณ 7-10 วันจึงจะโรย
ส่วนที่เป็นพิษ : หัวและใบ
สารพิษ :
การเกิดพิษ : หัวและใบทำให้ท้องเดิน หัวใจเต้นเร็วผิดปกติ
ว่านแสงอาทิตย์
แสงอาทิตย์
ชื่อวิทยาศาสตร์ Homalomena Rubescens Kunth
วงศ์ ARACEAE
ชื่อสามัญ -
ชื่ออื่นๆ ว่านตะกร้อ, ว่านกระทุ่ม (ภาคเหนือ), ว่านแสงไฟ
ลักษณะ ทั่วไป เป็นไม้ล้มลุกที่นำมาจากต่างประเทศ หัวเป็นเหง้าใต้ดิน ขนาดใหญ่ มีการแตกเป็นแง่งได้ เช่นเดียวกับหัวข่า ก้านใบสั้นส่วนใหญ่แผ่ออกเป็นกาบสีแดงโอบหุ้มกันเป็นลำกลมแบน สูง 30-50 ซม. ใบรูปรียาว ขนาดกว้าง 14-20 ซม. ยาว 30-40 ซม. ปลายใบแหลมเป็นติ่ง โคนใบเบี้ยว ขอบใบมีขลิบสีแดงโดยรอบทางด้านบน เส้นกลางใบเป็นร่องสีแดง ขอบของร่องสีขาว เส้นใบนูนออกในลักษณะตั้งฉากกับเส้นกลางใบ แผ่นใบสีเขียว ด้านล่างแผ่นใบอ่อนมีสีแดง ใบแก่จะมีสีแดงเรื่อๆ เส้นกลางใบนูนเป็นสันสีแดงเข้มกว่าแผ่นใบเมื่อถูกไฟหรือแสงอาทิตย์ใบจะห่อ และด้านล่างใบจะมีเงาสะท้อน เป็นว่านที่ไม่โทรมทั้งในฤดูหนาวและฤดูร้อน งามได้ตลอดปี
การปลูก ควรปลูกในดินร่วนปนทราย เป็นว่านที่ชอบอยู่ในที่ชื้นเย็น และถูกแสงแดดรำไร
การขยายพันธุ์ โดยการแยกหน่อ
คนทุกคนมีคุณค่า เว้นแต่คุณค่านั้นจะแสดงออกมาเมื่อไรและอย่างใดเท่านั้น
"We think our father's fools, so wise we grow; Our wiser sons no doubt will think us so."
"พวกเราคิดบิดาเราเฉาฉงน
เราเป็นคนมีปัญญาจะหาไหน
บุตรของเราคงดีจริงยิ่งขึ้นไป
จิตต์ใจเขาคงคิดเหมือนบิดา"
ณ ที่ใด ดวงใจ ไม่ไหวหวั่น
ขอฝ่าฟัน อุปสรรค และขวากหนาม
ถึงสิ้นชาติ วาสนา ชะตาทราม
จะฝากนาม โลกให้รู้กูก็ชาย
ณ ที่นี้ไร้ญาติและขาดมิตร
ยังก็แต่บ่าวสนิทพิสมัย
เสมอเพื่อนเสมือนญาติไม่คลาดไกล
เป็นเพื่อนตายเคียงกูคู่ชีวา
TRUNCATE TABLE name
DELETE FROM TABLE name
TRUNCATE TABLE is functionally identical to DELETE statement with no WHERE clause: both remove all rows in the table. But TRUNCATE TABLE is faster and uses fewer system and transaction log resources than DELETE.
The DELETE statement removes rows one at a time and records an entry in the transaction log for each deleted row. TRUNCATE TABLE removes the data by deallocating the data pages used to store the table's data, and only the page deallocations are recorded in the transaction log.
TRUNCATE TABLE removes all rows from a table, but the table structure and its columns, constraints, indexes and so on remain. The counter used by an identity for new rows is reset to the seed for the column. If you want to retain the identity counter, use DELETE instead. If you want to remove table definition and its data, use the DROP TABLE statement.
You cannot use TRUNCATE TABLE on a table referenced by a FOREIGN KEY constraint; instead, use DELETE statement without a WHERE clause. Because TRUNCATE TABLE is not logged, it cannot activate a trigger.
TRUNCATE TABLE may not be used on tables participating in an indexed view.
Property | Type |
| Description |
Form data source |
|
|
|
AllowCheck |
| = | If set Configuration keys and Security keys will be validated at runtime. |
AllowCreate |
| = | Enables inserting new record for the data source. |
AllowDelete |
| = | Enables deletion of table records for the data source. |
AllowEdit |
| = | Enables editing of table records for the data source. |
AutoNotify |
| = | Should be disabled if the form query is not used. Used by the form query, |
|
|
| but seems as have no effect if only disabling this property. |
AutoQuery |
| = | If disabled, the application user will not be able to use the query dialog, |
|
|
| filter and search options for the data source. |
AutoSearch |
| = | Should the records be fetched automatically at startup. |
Company |
| = | If specified, records will be fetched from this company. |
CounterField |
| = | Used to define a counter for the records inserted using the data source. |
|
|
| CounterField can be used if records must be sorted as inserted by the |
|
|
| application users. A field of the type real must be created in the table used |
|
|
| by the data source. This field must be selected for the property |
|
|
| CounterField. MorphX will automatically set the counter value when a |
|
|
| record is inserted. The form SalesTable makes use of the CounterField |
|
|
| properties when inserting sales order lines. |
DelayActive |
| = | If set, code execution and linking will be delayed when scrolling through |
|
|
| records. This will improve performance. |
Index |
| = | Index used for sorting and fetching records. |
InsertAtEnd |
| = | If set, new records will be inserted at the end. |
InsertIfEmpty |
| = | A new record will be inserted if the data source query does not find any |
|
|
| records. |
JoinSource |
| = | The joined form data source. |
LinkType |
| = | This property is used in combination with JoinSource. LinkType defines the |
|
|
| join mode used when joining two data source. |
Name |
| = | The name of the form data source. |
OnlyFetchActive |
| = | This will instruct the query of the form data source only to fetch the values |
|
|
| of the fields used in the form. |
StartPosition |
| = | Should the form data source show the first or the last record. |
Table |
| = | The table used in the form data source. |
|
|
|
|
Form Data Source Fields |
|
|
|
AllowAdd |
| = | Allows the user to add this field in the user setup. |
AllowEdit |
| = | Enables editing of the value in the control. |
Enabled |
| = | Should the control be enabled. |
Mandatory |
| = | If set, a value must be specified by the user in the field. |
Skip |
| = | Should the control be skipped when tab is pressed. |
Visible |
| = | Used to hide the control. If the follow controls are auto positioned, the |
|
|
| controls will be adjusted. |
|
|
|
|
Form Design Group Controls |
|
|
|
AlignChild | All | = | Should this control be included in the |
|
|
| adjustment of the group control it is |
|
|
| contained in. |
AlignChildren | All | = | If set, controls which are contained in |
|
|
| this control will be aligned according |
|
|
| to each other. |
AlignControl | All | = | This setting will adjust the controls |
|
|
| according to the longest label. |
AllowEdit | All | = | Enables editing of the value in the |
|
|
| control. |
AllowUserSetup | All | = | Enables user settings for this control |
|
|
| element. |
ArrangeMethod | All | = | Set the orientation for the arranged |
|
|
| controls. |
ArrangeWhen | All | = | Specify when the controls in the |
|
|
| design must be arranged. |
AutoDataGroup | Group | = | If enabled, the control can only |
|
|
| contain fields from the group |
|
|
| specified in the property DataGroup. |
AutoDeclaration | All | = | If set to Yes, the form design node |
|
|
| can be referred from X++ by using |
|
|
| the section name. |
BackgroundColor | All | = | RGB value or name of Windows |
|
|
| color scheme item. |
BackStyle | All | = | Set the background for the control to |
|
|
| transparent. Used if the background |
|
|
| color of bitmaps should not be |
|
|
| shown, or to set the color of the |
|
|
| background for the control data to the |
|
|
| color set with the property |
|
|
| BackGroundColor. |
Bold | ButtonGroup | = | Set the bold level for control data. |
| Group |
|
|
BottomMargin | All | = | Sets the margin below the control. |
|
|
| Caption for the control. |
Caption | ButtonGroup | = |
|
| Group |
|
|
| TabPage |
|
|
ColorScheme | All | = | Specify whether to use RGB colors, |
|
|
| or Windows color scheme. |
Columns | All | = | Number of columns in the control. |
|
|
| The contained controls will be |
|
|
| arranged in this number of columns. |
Columnspace | All | = | Set the space between columns. |
ConfigurationKey | All | = | Used to specify a Configuration Key |
|
|
| for the control. |
DataGroup | Group | = | Field group name. |
DataSource | All | = | Data source which is used in the |
|
|
| control. Data will be retrieved from |
|
|
| this data source. |
DragDrop | All | = | Enables drag and drop in the control. |
Enabled | All | = | Should the control be enabled. |
Font | ButtonGroup | = | The font to be used for the design. If |
| Group |
| not specified the default font is used. |
FontSize | ButtonGroup | = | The font size to be used for the |
| Group |
| design. If not specified the default |
|
|
| font size is used. |
FrameOptionButton | Group | = | Determines whether the frame should |
|
|
| contain a button. |
FramePosition | ButtonGroup | = | Sets the placement of the frame. |
| Group |
|
|
FrameType | ButtonGroup | = | Which type of frame must surround |
| Group |
| the control. |
Height | All | = | Set a fixed height for the control. |
HelpText | All | = | Help text that will be displayed in the |
|
|
| status bar. Will override help text |
|
|
| specified for a field or an extended |
|
|
| data type. |
HideIfEmpty | All | = | Hides the control if it is empty. |
Italic | ButtonGroup | = | Set the label to italic. |
| Group |
|
|
LabelBold | Group | = | Set the label to bold. |
LabelFont | Group | = | Set the font for the label. If not |
|
|
| specified the default font will be |
|
|
| used. |
LabelFontSize | Group | = | Set the font size for the label. If not |
|
|
| specified the default font size will be |
|
|
| used. |
LabelItalic | Group | = | Set the label to Italic. |
LabelUnderline | Group | = | Underline the label text. The property |
|
|
| LabelLineBelow is used to set a line |
|
|
| below in the full width of the label. |
Left | All | = | Set the control to a fixed position |
|
|
| calculated from left. If controls are |
|
|
| horizontal aligned and one control is |
|
|
| set to a fixed position, all controls |
|
|
| must be fixed. |
LeftMargin | All | = | Set a left margin for the control. |
Name | All | = | Name of the control. |
NeededAccessLevel | All | = | Required access level to activate this |
|
|
| control. |
OptionValue | Group | = | Value to be used with the property |
|
|
| FrameOptionButton. Used to set the |
|
|
| default value if FrameOptionButton |
|
|
| is set to Check or Radio. |
RightMargin | All | = | Set a right margin for the control. |
SecurityKey | All | = | Used to specify a Security Key for |
|
|
| the control. |
SelectControl | Tab | = | Should the first control be activated |
|
|
| when changing tab page. |
ShowTabs | Tab | = | If disabled, the tabpages will be |
|
|
| hidden. |
SizeHeight | ButtonGroup | = | Should all the buttons in the |
|
|
| buttongroup have the same height. |
SizeWidth | ButtonGroup | = | Should all the buttons in the |
|
|
| buttongroup have the same width. |
Skip | All | = | Should the control be skipped when |
|
|
| tab is pressed. |
Tab | Tab | = | Active tabpage when the form is |
|
|
| opened. |
TabAppearance | Tab | = | Defines how the tabpages are shown. |
| TabPage |
|
|
TabAutoChange | Tab | = | Does not work. Should allow using |
| TabPage |
| the tab key to go to the following |
|
|
| tabpage. |
TabLayout | Tab | = | How the tabpages should be |
|
|
| arranged. The option Tunnel cannot |
|
|
| be used for forms as this is a features |
|
|
| used by the web framework. |
TabPlacement | Tab | = | Defines where the tabpages are |
|
|
| placed. |
Top | All | = | Set a fixed position for the control |
|
|
| calculated from the top of the |
|
|
| previous control. |
TopMargin | All | = | Set the margin above the control. |
Underline | ButtonGroup | = | Set the label to be underlined. |
| Group |
|
|
VerticalSpacing | All | = | Space above and under the control. |
Visible | All | = | Used to hide the control. If the follow |
|
|
| controls are auto positioned, the |
|
|
| controls will be adjusted. |
Width | All | = | Set a fixed width for the control. If |
|
|
| set to default, the extended data type |
|
|
| will set the width. |
Form design |
|
|
|
AlignChild |
| = | Should this control be included in the adjustment of the group control it is |
|
|
| contained in. |
AlignChildren |
| = | If set, controls which are contained in this control will be aligned according |
|
|
| to each other. |
AllowDocking |
| = | Can the window be docked. |
AllowUserSetup |
| = | Enables user settings for this control element. |
AlwaysOnTop |
| = | Should the form be displayed as the front most window. |
ArrangeMethod |
| = | Set the orientation for the arranged controls. |
ArrangeWhen |
| = | Specify when the controls in the design must be arranged. |
BackgroundColor |
| = | RGB value or name of Windows color scheme item. |
BottomMargin |
| = | Sets the margin below the control. |
Caption |
| = | Caption of the form. This will appear in the title bar of the form. |
ColorScheme |
| = | Specify whether to use RGB colors, or Windows color scheme. |
Columns |
| = | Number of columns in the control. The contained controls will be arranged |
|
|
| in this numbers of columns. |
Columnspace |
| = | Set the space between columns. |
DataSource |
| = | Data source which is used for the control. Data will be retrieved from this |
|
|
| data source. |
Font |
| = | The font to be used for the design. If not specified the default font is used. |
Frame |
| = | This property defines the appearance of the frame around the form. |
Height |
| = | Set a fixed height for the form design. |
HideIfEmpty |
| = | Hides the design and only shows the title bar, if empty. |
HideToolbar |
| = | Hides the toolbar containing buttons for navigating and viewing documents |
|
|
| for the record. |
Imagemode |
| = | Controls how the background image must be shown. See property |
|
|
| ImageName. |
ImageName |
| = | Name of the image to be used as background in the form. |
ImageResource |
| = | Name of the resource to be used as background in the form. |
LabelFont |
| = | Set the font for the label of the control elements. If not specified the default |
|
|
| font will be used. |
Left |
| = | Set a fixed horizontal position for the form. |
LeftMargin |
| = | Set the left margin for the design. |
Mode |
| = | Seems to have no effect. This is a property used by the predecessor to |
|
|
| Axapta for setting write access on forms. |
NeededAccessLevel |
| = | Seems to have no effect. NeededAccessLevel is normally defined using the |
|
|
| menu items, as the help text for this property also state. |
RightMargin |
| = | Set the right margin for the design. |
SaveSize |
| = | Saves the size of the form design and uses this the next time the form is |
|
|
| displayed. |
SetCompany |
| = | Would you like to set the company when the form is activated. |
TitleDatasource |
| = | If enabled, the title fields of the data source will be shown in the caption of |
|
|
| the form. |
Top |
| = | Set a fixed vertical position for the form. |
TopMargin |
| = | Set the top margin for the design. |
Visible |
| = | Used to hide the entire design. |
Width |
| = | Set a fixed width for the form. |
WindowResize |
| = | Enables or disables window resizing. |
WindowType |
| = | Used to change the form to a popup form. A popup form cannot be resized. |
|
|
|
|
Type controls |
|
|
|
ActiveBackColor | Grid | = | RGB value or name of Windows color |
|
|
| scheme item. |
ActiveForeColor | Grid | = | RGB value or name of Windows color |
|
|
| scheme item. |
AlignChild | Design | = | Should this control be included in the |
|
|
| adjustment of the group control it is |
|
|
| contained in. |
AlignChildren | Design | = | If set, controls which are contained in this |
|
|
| control will be aligned according to each |
|
|
| other. |
AlignControl | All | = | This setting will adjust the controls |
|
|
| according to the longest label. |
|
|
|
|
Alignment | DateEdit | = | Align the control data. Can be used to left |
| IntEdit |
| align control data, when controls are |
| RealEdit |
| positioned vertical. |
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
AllowEdit | All | = | Allows editing the value in the control. |
AllowNegative | IntEdit | = | The property is used to prevent negative |
| RealEdit |
| values to be entered by the user. |
AnimateFile | Animate | = | The name of the .avi file that should be |
|
|
| played in the control. |
AppendNew | ComboBox | = | If set to Yes, the user can manually add |
|
|
| new elements. |
ArrayIndex | ComboBox | = | If the selected field or method is an array |
| DateEdit |
| a single element of the array can be |
| IntEdit |
| specified to be used only. |
| Listbox |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
AutoArrange | ListView | = | Should icons be arranged automatically. |
AutoDataGroup | Grid | = | If enabled, the control can only contain |
|
|
| fields from the group specified in the |
|
|
| property DataGroup. |
AutoDeclaration | All | = | If set to Yes the properties for the control |
|
|
| can be referenced from X++ by using the |
|
|
| control name. |
AutoInsSeparator | RealEdit | = | Seems to have no effect. Should allow |
|
|
| disabling auto inserting decimals. |
AutoPlay | Animate | = | Starts playback of the video file |
|
|
| automatically. |
BackgroundColor | Button | = | RGB value or name of Windows color |
| CheckBox |
| scheme item. |
| ComboBox |
|
|
| CommandButton |
|
|
| DateEdit |
|
|
| Grid |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| ListView |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| Table |
|
|
| TimeEdit |
|
|
| Tree |
|
|
| Window |
|
|
BackStyle | Button | = | Set the background for the control to |
| CheckBox |
| transparent. Used if the background color |
| ComboBox |
| of bitmaps should not be shown, or to set |
| CommandButton |
| the color of the background for the |
| DateEdit |
| control data to the color set with the |
| IntEdit |
| property BackGroundColor. |
| Listbox |
|
|
| ListView |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Tree |
|
|
| Window |
|
|
Bold | Button | = | Set the bold level for control data. |
| ComboBox |
|
|
| CommandButton |
|
|
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| ListView |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Tree |
|
|
Border | Animate | = | Typography of the frame belonging to the |
| Button |
| control. |
| ComboBox |
|
|
| CommandButton |
|
|
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| ListView |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Tree |
|
|
BottomMargin | Grid | = | Set the margin below the controls data. |
| MenuButton |
|
|
| RadioButton |
|
|
| Table |
|
|
ButtonDisplay | Button | = | Determines whether text, image or both |
| CommandButton |
| should be displayed and also the location |
| MenuButton |
| of it. |
| MenuItemButton |
|
|
CanScroll | ListView | = | Enables scrolling. |
| Tree |
|
|
Caption | ActiveX | = | Caption for the control. |
| HTML |
|
|
| RadioButton |
|
|
Center | Animate | = | If set to Yes, the video clip will be |
|
|
| centered in the control. |
ChangeCase | StringEdit | = | Used to set the control data to lower case |
|
|
| or upper case. |
CheckBox | ListView | = | If enabled, a checkbox will be shown for |
| Tree |
| each row in the control’s data. |
ClassName | ActiveX | = | The name or GUID of the class or object |
| HTML |
| to be used. |
ColorScheme | Button | = | Specify whether to use RGB colors, or |
| CheckBox |
| Windows color scheme. |
| ComboBox |
|
|
| CommandButton |
|
|
| DateEdit |
|
|
| Grid |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| ListView |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| Table |
|
|
| TimeEdit |
|
|
| Tree |
|
|
| Window |
|
|
Column | Table | = | Sets the active column. |
ColumnHeader | ListView | = | Determines whether a header will be |
|
|
| shown for the columns. |
ColumnHeaderButton | ListView | = | If enabled, the column headers will |
|
|
| function as a button. Only when Viewtype |
|
|
| is set to Report. |
ColumnImages | ListView | = | If enabled, each object in a column can |
|
|
| contain an image. |
Columns | RadioButton | = | Number of columns in the control. The |
| Table |
| contained controls will be arranged in this |
|
|
| numbers of columns. |
ComboType | ComboBox | = | The type of combobox. |
Command | CommandButton | = | Command to be used when clicking on |
|
|
| the button. |
ConfigurationKey | All | = | Used to specify a Configuration Key for |
|
|
| the control. |
Custom | ActiveX | = | This property must be used if a custom |
| Html |
| ActiveX property editor should be used. |
DataField | CheckBox | = | Select a field from the selected data |
| ComboBox |
| source. Instead of selecting a field, a |
| DateEdit |
| display method can be specified in the |
| IntEdit |
| property DataMethod. |
| Listbox |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
DataGroup | Grid | = | Field group name. |
DataMethod | CheckBox | = | Select a display or edit method to be used. |
| ComboBox |
| If the method is from a table, the data |
| DateEdit |
| source must be specified in the property |
| IntEdit |
| Table and the method must exist either on |
| Listbox |
| the data source connected to the table or |
| RadioButton |
| the table itself. |
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
|
|
|
|
DataSource | CheckBox | = | Data source which is used in the control. |
| ComboBox |
| Data will be retrieved from this data |
| DateEdit |
| source. |
| Grid |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| MenuItemButton |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
DateDay | DateEdit | = | Specify how day is shown. Windows |
|
|
| regional settings are used as default. |
DateFormat | DateEdit | = | Set the date format. Windows regional |
|
|
| settings are used as default. |
DateMonth | DateEdit | = | Specify how month is shown. Windows |
|
|
| regional settings are used as default. |
DateSeparator | DateEdit | = | Set the date separator. Windows regional |
|
|
| settings are used as default. |
ateValue | DateEdit | = | If specified, this date will be used as |
|
|
| default in the value of the control. |
DateYear | DateEdit | = | Specify how year is shown. Windows |
|
|
| regional settings are used as default. |
DecimalSeparator | ReaLEdit | = | Specify the decimal separator. Windows |
|
|
| regional settings are used as default. |
DefaultButton | Button | = | If enabled, this is the standard button. |
| CommandButton |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
Direction | Progress | = | Sets either horizontal or vertical direction. |
|
|
|
|
DisabledImage | Button | = | Will show the bitmap at the specified path |
| CommandButton |
| if the button is disabled. The property |
| MenuButton |
| ButtonText must be set to show images. |
| MenuItemButton |
|
|
DisabledResource | Button | = | Will show the specified resource bitmap if |
| CommandButton |
| the button is disabled. The property |
| MenuButton |
| ButtonText must be set to show images. |
| MenuItemButton |
|
|
DisplaceNegative | IntEdit | = | Adjust the position of negative values |
| RealEdit |
| printed. |
DisplayHeight | DateEdit | = | Sets the maximal number of lines to be |
| IntEdit |
| shown at one time for the control. |
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
DisplayLength | ComboBox | = | Sets the maximal number of characters to |
| DateEdit |
| be shown at one time for the control. |
| IntEdit |
|
|
| Listbox |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
DragDrop | All | = | Enables drag and drop in the control. |
EditLabels | ListView | = | Enables user editing of labels in the |
| Tree |
| control. |
Enabled | All | = | Should the control be enabled. |
EnumType | ComboBox | = | Specity an enum to be used for the control |
| Listbox |
| if a field or a method is not specified. |
| RadioButton |
|
|
ExtendedDataType | ComboBox | = | Specify an extended data type for the |
| DateEdit |
| control if a field or a method is not |
| IntEdit |
| specified |
| Listbox |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
Font | Button | = | The font to be used for the control data. If |
| ComboBox |
| not specified the default font is used. |
| CommandButton |
|
|
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| ListView |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Tree |
|
|
FontSize | Button | = | The font size to be used for the control |
| ComboBox |
| data. If not specified the default font size |
| CommandButton |
| is used. |
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| ListView |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Tree |
|
|
ForegroundColor | Button | = | RGB value or name of Windows color |
| CheckBox |
| scheme item. |
| ComboBox |
|
|
| CommandButton |
|
|
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| ListView |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Tree |
|
|
| Window |
|
|
FormatMST | RealEdit | = | Format the value using the settings for the |
|
|
| standard company currency. |
FramePosition | RadioButton | = | Sets the position of the frame. |
FrameType | RadioButton | = | Which frame type must surround the |
|
|
| control. |
GridLines | Grid | = | Show lines in the grid. Only valid by |
| ListView |
| control type ListView when the property |
| Table |
| ViewType is set to Report. |
HasButtons | Tree | = | If enabled, + or – is shown if the control |
|
|
| node can be expanded. |
HasLines | Tree | = | This will draw lines for each row in the |
|
|
| data of the control. |
Headerdragdrop | ListView | = | Enables drag and drop for the header in |
|
|
| the control. |
Height | All | = | Set a fixed height for the control. |
HelpText | All | = | Help text that will be displayed in the |
|
|
| status bar. This value will override the |
|
|
| label entered at the table field or extended |
|
|
| data type. |
HideFirstEntry | ComboBox | = | Hides the first data entry. |
| Listbox |
|
|
| RadioButton |
|
|
HighlightActive | Grid | = | If enabled, the selected line will be |
|
|
| marked with a color. |
Imagemode | Window | = | Controls how the background image must |
|
|
| be shown. See property ImageName. |
ImageName | Window | = | Name of the image to be used as |
|
|
| background in the control. |
ImageResource | Window | = | Specify an image resource id to be shown. |
Italic | ComboBox | = | Set the font to italic for the control data. |
| CommandButton |
|
|
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| ListView |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Tree |
|
|
Item | ComboBox | = | Seems to have no effect. The property |
| Listbox |
| Selection is used to set the default entry. |
| RadioButton |
| Is disabled if an enum is specified for the |
|
|
| control. |
ItemAlign | ListView | = | Seems to have no effect. Should be |
|
|
| aligning the items in a list control to the |
|
|
| top or to the left. |
Items | ComboBox | = | Is disabled if an enum is specified for the |
| Listbox |
| control. Can be used for manually set the |
| RadioButton |
| number of entries for a radio button |
|
|
| control. |
Label | CheckBox | = | Used to override the default label from |
| ComboBox |
| the field or extended data type. The label |
| DateEdit |
| will not be displayed, if the property |
| IntEdit |
| ShowLabel is set to false. |
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
LabelAlignment | CheckBox | = | Align the label of the control. |
| ComboBox |
|
|
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
LabelBold | CheckBox | = | Set the label to bold. |
| ComboBox |
|
|
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
LabelFont | CheckBox | = | Set the font for the label. If not specified |
| ComboBox |
| the default font will be used. |
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
LabelFontSize | CheckBox | = | Set the font size for the label. If not |
| ComboBox |
| specified the default font size will be |
| DateEdit |
| used. |
| IntEdit |
|
|
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
LabelForegroundColor | CheckBox | = | RGB value or name of Windows color |
| ComboBox |
| scheme item to be used for the label of the |
| DateEdit |
| control. |
| IntEdit |
|
|
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
LabelHeight | CheckBox | = | This property is not working. Should be |
| ComboBox |
| used to set the height of a label. |
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
LabelItalic | CheckBox | = | Set the label to Italic. |
| ComboBox |
|
|
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
LabelPosition | CheckBox | = | Position the label above or to the left. |
| ComboBox |
|
|
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
LabelUnderline | CheckBox | = | Underline the label text. |
| ComboBox |
|
|
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
LabelWidth | CheckBox | = | Used when the property LabelPostion is |
| ComboBox |
| set to Left. Set a fixed width for the label. |
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
Left | All | = | Set the control to a fixed position |
|
|
| calculated from left. |
LeftMargin | Grid | = | Set a left margin for the control. |
| MenuButton |
|
|
| RadioButton |
|
|
| Table |
|
|
LimitText | DateEdit | = | The maximal number of characters that |
| IntEdit |
| the user can enter in the control. |
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
LinesAtRoot | Tree | = | This will draw lines for the root row in |
|
|
| the data of the control. |
|
|
| When should the control have a lookup |
LookupButton | DateEdit | = | button. |
| IntEdit |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
Loops | Animate | = | Number of times to play the movie clip. |
|
|
| Setting to zero will cause the movie clip |
|
|
| to be repeated. |
Mandatory | DateEdit | = | If set, the field must be filled out. |
| IntEdit |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
MenuItemName | MenuItemButton | = | Name of the menu item. Only menu items |
|
|
| of the type defined in the property |
|
|
| MenuItemType can be selected. |
MenuItemType | MenuItemButton | = | Type of the menu item. |
MultiLine | StringEdit | = | Should the value of the data control be |
|
|
| able to contain several lines. |
MultiSelect | Button | = | In a grid, it determines whether several |
| CommandButton |
| rows can be selected at one time. In other |
| Grid |
| types of controls, the control will be |
| MenuButton |
| disabled if several rows are selected and |
| MenuItemButton |
| this property is not enabled. |
Name | All | = | The name of the section. This is the name |
|
|
| used from X++ to refer to the section, |
|
|
| when the property AutoDeclaration is set. |
NeededAccessLevel | Button | = | Required access level to activate this |
| CommandButton |
| control. |
| MenuButton |
|
|
| MenuItemButton |
|
|
NoOfDecimals | RealEdit | = | Set the number of decimals to be shown. |
NormalImage | Button | = | Will show the specified resource bitmap if |
| CommandButton |
| the button is enabled. The property |
| MenuButton |
| ButtonText must be set to show images. |
| MenuItemButton |
|
|
NormalResource | Button | = | Will show the specified image if the |
| CommandButton |
| button is enabled. The property |
| MenuButton |
| ButtonText must be set to show images. |
| MenuItemButton |
|
|
OneClickActivate | ListView | = | Activate with just one click. |
PasswordStyle | StringEdit | = | If set, the value of the control will be |
|
|
| shown as *. |
Pos | Progress | = | Start position for progress bar. |
ProgressType | Progress | = | Seems as having no effect. |
RangeHi | Progress | = | Maximum value for the progress bar. |
RangeLo | Progress | = | Minimum value for the progress bar. |
RealValue | RealEdit | = | Sets the default value for the control. |
ReplaceOnLookup | DateEdit | = | Should the value entered in the control be |
| IntEdit |
| replaced when a new value is selected on |
| RealEdit |
| lookup. |
| StringEdit |
|
|
| TimeEdit |
|
|
RightMargin | Grid | = | Set a right margin for the control. |
| MenuButton |
|
|
| RadioButton |
|
|
| Table |
|
|
RotateSign | IntEdit | = | Used to invert negative values. |
| RealEdit |
|
|
Row | Table | = | Active row. |
Rows | Table | = | Number of rows in the control. |
RowSelect | ListView | = | Can rows be selected. |
| Tree |
|
|
SaveRecord | Button | = | Should the record be saved by the system |
| CommandButton |
| when activating this control. |
| MenuButton |
|
|
| MenuItemButton |
|
|
SearchMode | DateEdit | = | Sets the search mode on how to find |
| IntEdit |
| records when typing. |
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
SecurityKey | All | = | Used to specify a Security Key for the |
|
|
| control. |
Selection | ComboBox | = | Sets the initially selected item. |
| Listbox |
|
|
| RadioButton |
|
|
ShowColLabels | Grid | = | Should column labels be shown. |
| Table |
|
|
ShowLabel | CheckBox | = | If set to No, the label will not be |
| ComboBox |
| displayed. |
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| RealEdit |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Window |
|
|
ShowRowLabels | Grid | = | Should column labels be shown. |
| Table |
|
|
ShowSelAlways | ListView | = | Should the object selection be maintained |
| Tree |
| when focus is changed. |
ShowShortCut | Button | = | If enabled, a shortcut will be reserved and |
| CommandButton |
| shown in the label of the control. |
| MenuButton |
|
|
| MenuItemButton |
|
|
ShowZero | IntEdit | = | Defines whether zero values must be |
| RealEdit |
| shown. |
SignDisplay | IntEdit | = | Set how to display negative values. |
| RealEdit |
|
|
SingleSelection | ListView | = | Allow more than one object to be selected |
| Tree |
| at a time. |
Skip | All | = | Should the control be skipped when the |
|
|
| tab key is pressed. |
Sort | ListView | = | Defines how the sorting of elements is |
|
|
| performed. |
Step | Progress | = | Number of steps in each iteration. |
Text | Button | = | Enter the text to be shown. |
| ComboBox |
|
|
| CommandButton |
|
|
| Listbox |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
| RadioButton |
|
|
| StaticText |
|
|
| StringEdit |
|
|
ThousandSeparator | RealEdit | = | Specify the thousand separator. Windows |
|
|
| regional settings are used as default. |
TimeFormat | TimeEdit | = | Set the time format. Windows regional |
|
|
| settings are used as default. |
TimeHours | TimeEdit | = | Specify whether to show hours. Windows |
|
|
| regional settings are used as default. |
TimeMinute | TimeEdit | = | Specify whether to show minutes. |
|
|
| Windows regional settings are used as |
|
|
| default. |
TimeSeconds | TimeEdit | = | Specify whether to show seconds. |
|
|
| Windows regional settings are used as |
|
|
| default. |
TimeSeparator | TimeEdit | = | Set the time separator. Windows regional |
|
|
| settings are used as default. |
Top | All | = | Set a fixed position for the control |
|
|
| calculated from the top of the previous |
|
|
| control. |
TopMargin | Grid | = | Set the margin above the control. |
| MenuButton |
|
|
| RadioButton |
|
|
| Table |
|
|
TrackSelect | ListView | = | Should the object be selected when the |
| Tree |
| cursor is moved over the control. |
Transparent | Animate | = | Should a transparent background be used. |
TwoClickActivate | ListView | = | Require activation with double click. |
Underline | Button | = | Underline the control data. |
| ComboBox |
|
|
| CommandButton |
|
|
| DateEdit |
|
|
| IntEdit |
|
|
| Listbox |
|
|
| ListView |
|
|
| MenuButton |
|
|
| MenuItemButton |
|
|
| RadioButton |
|
|
| RealEdit |
|
|
| StaticText |
|
|
| StringEdit |
|
|
| TimeEdit |
|
|
| Tree |
|
|
Value | CheckBox | = | Specifiy the initial value. |
| IntEdit |
|
|
| MenuItemButton |
|
|
| TimeEdit |
|
|
VerticalSpacing | All | = | Space above and under the control. |
ViewType | ListView | = | Specify how objects are represented |
|
|
| visually. |
Visible | All | = | Used to hide the control. If the following |
|
|
| controls are auto positioned, the controls |
|
|
| will be adjusted. |
VisibleCols | Grid | = | How many columns should be visible. |
VisibleRows | Grid | = | How many rows should be visible. |
Width | All | = | Set a fixed width for the control. If set to |
|
|
| default, the extended data type will set the |
|
|
| width. |