Time of Update: 2018-12-03
初學flex,請大家多多指教http://www.webxml.com.cn/WebServices/WeatherWebService.asmx<?xml version="1.0" encoding="utf-8"?><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
Time of Update: 2018-12-03
Tlight 的 Light Type 有三種屬性. ltDirectional ltPointltSpot在ltDriectional下, 無論光源的位置如何改變, 情境內的圖形都不變 ltPoint 下,光源就像個電燈泡,改變光源位置會造成陰影的改變. ltSpot 就像個手電筒, 指到哪裡,哪裡才亮. 表單代碼 :object Form1: TForm1 Left = 0 Top = 0 BiDiMode = bdLeftToRight Caption =
Time of Update: 2018-12-03
寫這篇文章的時候腦子有點亂.. unit xDrawForm;interface uses Windows, Messages, SysUtils, Classes, Controls, Forms, Menus, Graphics,GDIPOBJ,GDIPAPI,GDIPUTIL;type TwwGDIImage = class public n_Pos_X : Integer; n_Pos_Y : Integer; n_Width : Integer;
Time of Update: 2018-12-03
寫文章的時候 腦子有點亂 unit uMainForm;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, GDIPOBJ,GDIPAPI,GDIPUTIL;type TForm1 = class(TForm) procedure FormCreate(Sender: TObject); procedure
Time of Update: 2018-12-03
(*相對路徑和絕對路徑的轉換*)unit xPath;interface uses ShlwApi, Windows, SysUtils;/// <summary>/// 取絕對路徑的函數。需要引用 ShlwApi.pas/// </summary>/// <param name="BasePath">參考路徑</param>/// <param name="RelativePath">相對路徑</param>///
Time of Update: 2018-12-03
在 HelloWorld 類裡面重寫手勢的虛函數class HelloWorld : public cocos2d::CCLayer{public:virtual bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent);virtual void ccTouchMoved(CCTouch *pTouch, CCEvent *pEvent);virtual void ccTouchEnded(CCTouch *pTouch, CCEvent
Time of Update: 2018-12-03
WinInetDownLoad('http://下載地名','c:\本地檔案名稱')引用 unit xHttpGetThread;interfaceconst MAXBLOCKSIZE = 1024;function WinInetDownLoad(Url:PChar; FileName:string):Boolean;implementationuses Windows, Classes, WinInet, SysUtils ;function
Time of Update: 2018-12-03
先在 Public 設定一個定時器的函數,void myOnTimer(float fInterval);然後在 HelloWorld::init() 裡面建立一個定時器bool HelloWorld::init(){/* ------ */this->schedule(schedule_selector(HelloWorld::myOnTimer),// 定時器函數回調指標0.016,// 定時器間隔(單位秒)0xFFFFFFFF,// 執行次數0);// 延遲(秒)以後開始啟動
Time of Update: 2018-12-03
一、建立一個新的 FireMonkey 3D Application 二、從3D Scene 中拖一個 TLight 控制項, 一個 TSphere控制項到表單上 三、設定 Sphere 的材質中 Diffuse 的顏色設定後效果如下 四、設定 Sphere 的長寬高 效果 表單代碼為:object Form1: TForm1 Left = 0 Top = 0 BiDiMode = bdLeftToRight Caption = 'Form1' ClientHeight = 601
Time of Update: 2018-12-03
根樹的枚舉及其在LSI剖析識別和在程式整理簡化方面的應用(枚舉問題由一學生作為畢業論文完成,我編寫應用部分)根樹的枚舉要求:編寫一個程式,將自然數全體{N}與{非標定根樹}全體元素間建立1-1對應。下面表中列出了與自然數 N = 1...18 所對應的18個非標定根樹圖形G(N),可供參考。點數(K)對應的根樹圖形 G(N)分支(B)深度(D)串描述1100022111331+111+1432+022+0541+1+111+1+1642+1+022+1+0743+0+02 843+0+03 95
Time of Update: 2018-12-03
傳說中的Delphi做多國語言有很多種,個人我只會這一種, 小弟的初學淺薄怕忘記。所以也就記下來了。 假設有語言檔案 Multilingual.ini
Time of Update: 2018-12-03
<?xml version="1.0" encoding="utf-8"?><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"><fx:Script><
Time of Update: 2018-12-03
unit xDes; interface uses SysUtils; type TKeyByte = array[0..5] of Byte; TDesMode = (dmEncry, dmDecry); function EncryStr(Str, Key: String): String; function DecryStr(Str, Key: String): String; function EncryStrHex(Str, Key: String): String;
Time of Update: 2018-12-03
<?xml version="1.0" encoding="utf-8"?><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955"
Time of Update: 2018-12-03
<?xml version="1.0" encoding="utf-8"?><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955"
Time of Update: 2018-12-03
onfocus=”this.blur()” 這句代碼有沒有覺得眼熟?沒錯,我們常用它來去除連結取得焦點時外圍出現的虛線框(一),google一下,前面幾十頁談的都是這個去除虛線框的技巧。但我們也許以前從未想過:我們的這行代碼給盲人使用者們帶來了巨大的困擾:這中斷了盲人使用者的Tab鍵路徑,導致Tab游標無法聚焦頁面的下一個控制器(連結、表單域、object、image map等)。測試如下:<body><a href=”#” >第一個連結</a><a
Time of Update: 2018-12-03
data.xml中:前幾個圖用的是all,後面幾個圖用的是ticker<salesdata><all><data interval="2008 Q1" ferrariUnites="2" ferrariSales="2.32" porscheUnits="2" porscheSales="0.180"/><data interval="2008 Q2" ferrariUnites="5" ferrariSales="7.82" porscheUnits=
Time of Update: 2018-12-03
今天同學示範了一下flex如何使用arcgis server api真的比javascript省事多了,起碼不用配置,而且api檔案還特別的小下載好api for
Time of Update: 2018-12-03
今天安裝Photoshop CS6出現下面的錯誤Exit Code: 34-------------------------------------- Summary -------------------------------------- - 1 fatal error(s), 0 error(s), 0 warning(s)FATAL: Payload '{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.
Time of Update: 2018-12-03
<?xml version="1.0" encoding="utf-8"?><!-- http://yecon.blog.hexun.com/29904545_d.html --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle"