程式設計學習進度與心得
第一週九月七號
老師示範,
我們做
第二週九月十四號
<label>顏色: </label>
<label>黑色<input type="radio" name="color"></label>
<label>紅色<input type="radio" name="color"></label>
<label>綠色<input type="radio" name="color"></label>
<label>藍色<input type="radio" name="color"></label>
< input type="button" value="2020年每天通貨走勢" onclick="draw()" >
< input type="button" value="2020年每天通貨走勢" onclick="draw()" >
第三週九月二十一號
學習 input 還有 表單 from
在HTML處增加
<form><b>選擇顏色:
<input id="linecolor" type="checkbox">紅色
<input onclick="draw()" type="button" value="2020年每天通貨走勢" /></form>
在JavaScript處作如下更改。
ctx.fillStyle="black";
if ( document.getElementById('l inecolor').checked )
ctx.fillStyle="red";
位元組與變數
10進位 | 16進位 | 位元組Byte數的2進位表示 | |||||||
2進為對應的10進位 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| 128 | 64 | 32 | 8 | 6 | 4 | 2 | 1 | |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
3 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
4 | 4 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
9 | 9 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
10 | A | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
11 | B | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 |
12 | C | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |
13 | D | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 |
15 | F | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
16 | 10 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
17 | 11 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
128 | 80 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
245 | F5 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
第四周九月二十八號
第六週上課
網頁指令 | VBA指令 |
聯絡人職稱: | UserForm_Initialize()'起始表單事件設定 |
聯絡人職稱:<select id="ComboBox1"> <option>董事長</option> <option>總經理</option> <option>副總經理</option> <option>財務長</option> <option>人資長</option> </select> | With ComboBox1 .Additem("董事長") .Additem("總經理") .Additem("副總經理") .Additem("財務長") .Additem("人資長") End With |
vba | |
<input type="button" value="按下去" onclick="alert('你是豬頭!')"> | vba |
豬狗貓 | vba |
command | vba |
第七周2020/10/19
html | vba |
輸入國庫卷面額: | vba |
輸入國庫卷面額: <input type="text" id="a"> | textbox |
commandbutton | |
<input onclick="alert('你是大帥哥!')" type="button" value="按下我" /> | vba |
豬狗貓鼠 | vba |
豬<input type="radio" />狗<input type="radio" />貓<input type="radio" />鼠<input type="radio" /> | vba |
豬狗貓鼠 | vba |
豬<input name="pet" type="radio" />狗<input name="pet" type="radio" />貓<input name="pet" type="radio" />鼠<input name="pet" type="radio" /> | vba |
vba | |
<select><option>董事長</option><option>總經理</option><option>財務長</option></select> | vba |
EXCEL VBA | |
Private Sub CommandButton1_Click() Dim addnew As Range '定義 變數 addnew 是工作表的一個範圍
If Range("A1").CurrentRegion.Rows.Count = 1 Then
Set addnew = Sheets("DataTable").Range("A1").Offset(1, 0)
Else
Set addnew = Sheets("DataTable").Range("A1").End(xlDown).Offset(1, 0)
End If
addnew.Offset(0, 0).Value = TextBox1.Text '統一編號
addnew.Offset(0, 1).Value = TextBox2.Text '公司
addnew.Offset(0, 2).Value = TextBox3.Text '聯絡人
addnew.Offset(0, 4).Value = TextBox4.Text '地址
addnew.Offset(0, 3).Value = ComboBox1.Value '聯絡人職位 使用下拉式選單
ListBox1.ColumnCount = 5 '在清單方塊 ListBox1 顯示輸入的資料,5 columns
ListBox1.RowSource = "A1:E65536"
End Sub
Private Sub CommandButton2_Click()
End
End Sub
Private Sub UserForm_Initialize()
ComboBox1.AddItem ("董事長")
ComboBox1.AddItem ("總經理")
ComboBox1.AddItem ("副總經理")
ComboBox1.AddItem ("財務長")
End Sub |
EXCLE VBA
檔案=>選項=>自訂功能區=>搭開開發人員
第八周 2020/10/26
第九周 2020/11/2
期中考
第十周 2020/11/9
Youtube 影片編輯
陣列 Array
零邊際成本
留言
張貼留言