This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tf1 = Titanium.UI.createTextField({ | |
color:'#336699', | |
top:10, | |
left:10, | |
width:250, | |
height:40, | |
hintText:'hintText', | |
keyboardType:Titanium.UI.KEYBOARD_DEFAULT, | |
returnKeyType:Titanium.UI.RETURNKEY_DEFAULT, | |
borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ary = []; | |
for(var i=0;i<10;i++){ | |
ary.push([]); | |
} | |
//ary[0-9][無限?] | |
ary[0][0] = '0-0'; | |
ary[0][1] = '0-1'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ary = new Array(10); | |
for(i=0;i<10;i++){ | |
ary[i] = new Array(10); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
procedure TForm1.Button1Click(Sender: TObject); | |
begin | |
//選択したアイテムを上に移動 | |
ListItemChange(-1); | |
end; | |
procedure TForm1.Button2Click(Sender: TObject); | |
begin | |
//選択したアイテムを下に移動 | |
ListItemChange(1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type | |
//配列の個数を決めないで宣言します | |
TArrayOfInteger = array of integer; | |
//途中略 | |
procedure TForm1.Button1Click(Sender: TObject); | |
var | |
i:integer; | |
rp:TArrayOfInteger; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ViewController.h を修正する | |
// 横長:ボタン右 | |
// UIInterfaceOrientationLandscapeRight | |
// 横長:ボタン左 | |
// UIInterfaceOrientationLandscapeLeft | |
// 縦長:ボタン下(通常の画面) | |
// UIInterfaceOrientationPortrait | |
// 縦長:ボタン上 | |
// UIInterfaceOrientationPortraitUpsideDown |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (IBAction)goToButton:(id)sender { | |
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.kisnet.or.jp/nappa/software/star/index.htm"]]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Sub Sample() | |
Dim i As Integer | |
i = 1 | |
Do | |
Cells(i, 10) = GetShortenedLinkGoogl(Cells(i, 1)) | |
i = i + 1 | |
Loop Until Cells(i, 1) = "" | |
End Sub | |
http://www.ka-net.org/office/of38.htmlを参照 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***************************************** | |
* 九九ランダム表示 (iPad PR0C0D1N6用) | |
* 横置き | |
* ボタンクリックで表示の切替 | |
* Hiroyuki Nakano | |
* 2012.12.02 | |
*****************************************/ | |
String[] Quest = new String[81]; | |
int[] Ans = new int[81]; | |
int[] rS = new int[81]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***************************************** | |
* 1けたのたし算ランダム表示 (iPad PR0C0D1N6用) | |
* 横置き | |
* ボタンクリックで表示の切替 | |
* Hiroyuki Nakano | |
* 2012.12.03 | |
*****************************************/ | |
String[] Quest = new String[81]; | |
int[] Ans = new int[81]; | |
int[] rS = new int[81]; |
OlderNewer