这是一个php开发桌面应用程序的开发工具,我小试用了一下,感觉还不错,虽然跟delphi很像,但只是表面上的事,毕竟使用的语言是php的.现在可能是官网正在迁移中,打不开,有兴趣的哥们可以共同研究一下.这是我写的一个简单应用.可以参考一下.<?php require_once("ppform.php"); ?>
<?phpclass __PPFORM__ extends TPPForm
{ function DBLookupComboBox1Click($Sender)
{
$this->ADOQuery1->Close;
$this->ADOQuery1->SQL->Clear;
if($this->DBLookupComboBox1->keyvalue!=""){
$term=" where 组件名称='".$this->DBLookupComboBox1->keyvalue."'";
}
$sql="select * from 控件使用".$term;
$this->ADOQuery1->SQL->Add=$sql;
$this->ADOQuery1->Active=true;
} function Button1Click($Sender)
{
$this->ADOConnection1->close;
$this->close();
} function ADOQuery1AfterPost($DataSet)
{
$this->ADOQuery2->Requery;
showmessage("增加记录成功!");
}
} //end __PPFORM__?>开发工具可以去官网下载也可以来我的小站下载.
http://dvdisk.corn.cn的"软件"文件夹.
<?phpclass __PPFORM__ extends TPPForm
{ function DBLookupComboBox1Click($Sender)
{
$this->ADOQuery1->Close;
$this->ADOQuery1->SQL->Clear;
if($this->DBLookupComboBox1->keyvalue!=""){
$term=" where 组件名称='".$this->DBLookupComboBox1->keyvalue."'";
}
$sql="select * from 控件使用".$term;
$this->ADOQuery1->SQL->Add=$sql;
$this->ADOQuery1->Active=true;
} function Button1Click($Sender)
{
$this->ADOConnection1->close;
$this->close();
} function ADOQuery1AfterPost($DataSet)
{
$this->ADOQuery2->Requery;
showmessage("增加记录成功!");
}
} //end __PPFORM__?>开发工具可以去官网下载也可以来我的小站下载.
http://dvdisk.corn.cn的"软件"文件夹.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货